Skip to content

Commit

Permalink
Fix discover of tests in test.yml Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Oct 21, 2024
1 parent 058fe50 commit 450898f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Install tests requirements
run: python -m pip install --prefer-binary -r src/pyfastani/tests/requirements.txt
- name: Test package
run: python -m unittest discover -vv
run: python -m unittest pyfastani.tests -vv

test_osx:
name: Test (OSX)
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
- name: Install tests requirements
run: python -m pip install --prefer-binary -r src/pyfastani/tests/requirements.txt
- name: Test package
run: python -m unittest discover -vv
run: python -m unittest pyfastani.tests -vv

# test_windows:
# name: Test (Windows)
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
# - name: Install tests requirements
# run: python -m pip install -r src/pyfastani/tests/requirements.txt
# - name: Test package
# run: python -m unittest discover -vv
# run: python -m unittest pyfastani.tests -vv

coverage_linux:
name: Coverage (Linux)
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
- name: Install tests requirements
run: python -m pip install --prefer-binary -r src/pyfastani/tests/requirements.txt
- name: Test with coverage
run: python -m coverage run -m unittest discover -vv
run: python -m coverage run -m unittest pyfastani.tests -vv
- name: Upload to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 450898f

Please sign in to comment.