Skip to content

Commit fdd2109

Browse files
updates
1 parent 0543aa4 commit fdd2109

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

.github/workflows/release.yaml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,22 @@ jobs:
1212

1313
test-suite:
1414
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v2
17-
- name: tests
18-
run: |
19-
make test
15+
strategy:
16+
matrix:
17+
python-version: [3.6, 3.7, 3.8]
2018

19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
# pip install flake8 pytest
29+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
30+
if [ -f tests/requirements.txt ]; then pip install -r tests/requirements.txt; fi
31+
- name: Test with pytest
32+
run: |
33+
pytest

0 commit comments

Comments
 (0)