Skip to content

Commit

Permalink
Fix win32 & Python 3.12 failing unit test (#513)
Browse files Browse the repository at this point in the history
* Second attempt to fix CI failing tests

* Third attempt to fix CI failing tests
  • Loading branch information
Marinovsky authored Oct 28, 2024
1 parent a7236c1 commit 9f8f2b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
pip install -r requirements.txt
- name: Run tests
run: pytest -s -rs
run: python -m pytest -s -rs

release:
runs-on: ubuntu-latest
Expand Down
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 9f8f2b9

Please sign in to comment.