Skip to content

Commit eda23a8

Browse files
committed
ci: run unit and functional tests in parallel
1 parent 19d237c commit eda23a8

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python: [3.6, 3.7, 3.8, 3.9]
18+
python: [3.6, 3.7, 3.8, 3.9]
19+
type: [unit, functional]
1920

2021
# Steps represent a sequence of tasks that will be executed as part of the job
2122
steps:
@@ -35,8 +36,5 @@ jobs:
3536
- name: Install requirements
3637
run: pip install -r requirements.txt
3738

38-
- name: Run unit tests
39-
run: python -m unittest discover -s tests/unit -v
40-
41-
- name: Run functional tests
42-
run: python -m unittest discover -s tests/functional -v
39+
- name: Run ${{ matrix.type }} tests
40+
run: python -m unittest discover -s tests/${{ matrix.type }} -v

0 commit comments

Comments
 (0)