Skip to content

Commit

Permalink
Only run coverage on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
sjagoe committed Dec 2, 2023
1 parent 3903345 commit 13e677c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,18 @@ jobs:
pip install -r "test_requirements.txt"
pip --version
- name: Run tests with unittest
if: ${{ ! startswith(matrix.os, 'ubuntu') }}
run: |
python -m unittest discover -v -t . haas
- name: Run tests with unittest coverage
if: ${{ startswith(matrix.os, 'ubuntu') }}
run: |
coverage run --branch -m unittest discover -v -t . haas
- name: Run tests with haas
run: |
python -m haas haas
- name: Print coverage report
if: ${{ startswith(matrix.os, 'ubuntu') }}
run: |
coverage report
Expand Down

0 comments on commit 13e677c

Please sign in to comment.