Skip to content

Commit 01dddbb

Browse files
author
Vianpyro
committed
Refactor GitHub Actions workflow to consolidate OS matrix for testing
1 parent f9c4652 commit 01dddbb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pytest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
pip install -r requirements.txt
3232
pip install pytest pytest-cov
3333
34-
- matrix.os: ubuntu-latest
35-
run: python -m pytest --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
36-
37-
- matrix.os: macos-latest
34+
- matrix:
35+
os:
36+
- ubuntu-latest
37+
- macos-latest
3838
run: python -m pytest --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
3939

4040
- matrix.os: windows-latest

0 commit comments

Comments
 (0)