Skip to content

Commit

Permalink
Second attempt to fix CI failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Marinovsky committed Oct 25, 2024
1 parent a7236c1 commit e0b038f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/regression-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
run: pip install -r requirements.txt

- name: Run normal tests
run: pytest -s -rs
run: python -m pytest -s -rs

- name: Run API tests
run: pytest -s tests/components/api/test_clients.py
run: python -m pytest -s tests/components/api/test_clients.py
env:
QC_USER_ID: ${{ secrets.QC_USER_ID }}
QC_API_TOKEN: ${{ secrets.QC_API_TOKEN }}
Expand All @@ -44,7 +44,7 @@ jobs:
# Before running the tests we free up some disk space to prevent issues.
# Removing /usr/local/lib/android frees up ~10GB, which we can safely do because we don't use Android.
- name: Run CLI tests
run: sudo rm -rf /usr/local/lib/android && pytest -s tests/test_cli.py
run: sudo rm -rf /usr/local/lib/android && python -m pytest -s tests/test_cli.py
if: runner.os == 'Linux'
env:
QC_USER_ID: ${{ secrets.QC_USER_ID }}
Expand Down

0 comments on commit e0b038f

Please sign in to comment.