Skip to content

Commit

Permalink
[CI] Use same image for tests and publishing test execution (#463)
Browse files Browse the repository at this point in the history
Use same image for tests and publishing test execution
  • Loading branch information
c-fteixeira authored and vadiklyutiy committed Jul 27, 2024
1 parent 3620adc commit 4e33705
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
matrix: ${{ fromJSON(needs.list-test-dirs.outputs.matrix) }}
runs-on: arc-runner-set
container:
image: nvcr.io/nvidia/pytorch:24.04-py3
image: nvidia/cuda:11.8.0-devel-ubuntu20.04
steps:
- name: Install dependencies via apt
run: |
Expand Down Expand Up @@ -62,13 +62,14 @@ jobs:
# Run tests
- name: Run tests
run: |
rm -rf ~/.config/hidet
python -m pytest -v --durations=20 --clear-cache ${{ matrix.path }}
build-docs:
if: github.repository == 'hidet-org/hidet'
runs-on: arc-runner-set
container:
image: nvcr.io/nvidia/pytorch:24.04-py3
image: nvidia/cuda:11.8.0-devel-ubuntu20.04
steps:
- name: Install dependencies via apt
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ jobs:
runs-on: arc-runner-set
container:
image: nvidia/cuda:11.8.0-devel-ubuntu20.04
options: --gpus all
steps:
- name: Install dependencies via apt
run: |
Expand Down

0 comments on commit 4e33705

Please sign in to comment.