Skip to content

Commit a4f8a37

Browse files
authored
ci action test#5
1 parent fd28920 commit a4f8a37

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,17 @@ jobs:
1111
test:
1212
name: run all tests
1313
runs-on: ubuntu-18.04
14+
strategy:
15+
matrix:
16+
python-version: [3.5, 3.6, 3.7, 3.8, 'pypy3']
1417
steps:
15-
- uses: actions/checkout@v2
16-
- name: setup
17-
run: |
18-
sudo apt install python3-venv
19-
sh ./setup_dev.sh
20-
- name: test
21-
run: sh ./run_tests.sh
18+
- name: checkout
19+
uses: actions/checkout@v2
20+
- name: python${{ matrix.python-version }}
21+
uses: actions/setup-python@v2
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: pip-requirements
25+
run: pip install --upgrade pytest pytest-asyncio async-timeout
26+
- name: run-test
27+
run: pytest --continue-on-collection-errors ./tests

0 commit comments

Comments
 (0)