Skip to content

Commit

Permalink
test.yml minor mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilkka-LBL committed Oct 28, 2024
1 parent 5f7eb45 commit 257a5b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
env:
PYTHONPATH: . # Add root directory to PYTHONPATH for imports
run: |
python -m unittest discover -s tests -p "test_*.py" # Discover and run tests in 'tests'
python -m unittest discover -s ./tests -p "test_*.py" # Discover and run tests in 'tests'
# Run a single test file as a backup in case of discovery issues
- name: Run Single Test (Fallback)
if: failure()
run: |
run: python -m unittest discover -s ./tests -p "test_*.py" # Replace with an actual test file in your 'tests' directory
python -m unittest discover -s ./tests -p "test_TFL.py" # Replace with an actual test file in your 'tests' directory

0 comments on commit 257a5b4

Please sign in to comment.