Skip to content

Commit

Permalink
tests: fix pr test pre-commit runs; only install tox on runner
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Jul 16, 2024
1 parent c0bab91 commit 6a238d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maintests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Install tox and any other packages
run: |
python -m pip install --upgrade pip
pip install --upgrade -r requirements.dev.txt
pip install --upgrade tox
- name: Check build_helper.py horde-engine imports have no breaking dependency changes
run: tox -e test-build-helper
- name: Build unit test environment, confirm CUDA is available on host
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/prtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run pre-commit
uses: pre-commit/[email protected]
with:
Expand All @@ -45,7 +47,7 @@ jobs:
- name: Install tox and any other packages
run: |
python -m pip install --upgrade pip
pip install --upgrade -r requirements.dev.txt
pip install --upgrade tox
- name: Check build_helper.py horde-engine imports have no breaking dependency changes
run: tox -e test-build-helper
- name: Build unit test environment, confirm CUDA is available on host
Expand Down

0 comments on commit 6a238d0

Please sign in to comment.