-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (33 loc) · 949 Bytes
/
python_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: CI
on:
push:
# Uncomment when we have `development` and remove `main`
# branches: [ development ]
branches: [ main, develop ]
pull_request:
# Uncomment when we have `development`
branches: [ main, develop ]
#branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python: [ "3.9" ]
steps:
- uses: actions/checkout@v2
- name: Initialize Python ${{ matrix.python }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install package
run: |
python -m pip install --upgrade pip
pip install .
pip uninstall -y numpy
pip install numpy==1.23.5
- name: Run tests
run: |
python -m unittest discover -s phenoscore