diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 69e9d74..c556838 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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