Skip to content

Commit

Permalink
disable gpu test for now due to lack of runner
Browse files Browse the repository at this point in the history
  • Loading branch information
KedoKudo authored Nov 19, 2024
1 parent 5abe027 commit d5c4b3a
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,25 @@ jobs:
VERSION=$(versioningit ../) conda mambabuild $CHANNELS --output-folder . .
conda verify noarch/bm3dornl*.tar.bz2
linux_gpu:
runs-on: github-gpu-builder
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: "latest"
auto-update-conda: true
channels: conda-forge,defaults
use-mamba: true
environment-file: environment.yml
activate-environment: test
- name: install additional dependencies
run: |
echo "installing additional dependencies if cannot be installed from conda"
- name: run unit tests
run: |
echo "running unit tests (GPU)"
python -m pytest --cov=src --cov-report=xml --cov-report=term-missing -m "cuda_required"
# linux_gpu:
# runs-on: github-gpu-builder
# defaults:
# run:
# shell: bash -l {0}
# steps:
# - uses: actions/checkout@v4
# - uses: conda-incubator/setup-miniconda@v3
# with:
# miniforge-version: "latest"
# auto-update-conda: true
# channels: conda-forge,defaults
# use-mamba: true
# environment-file: environment.yml
# activate-environment: test
# - name: install additional dependencies
# run: |
# echo "installing additional dependencies if cannot be installed from conda"
# - name: run unit tests
# run: |
# echo "running unit tests (GPU)"
# python -m pytest --cov=src --cov-report=xml --cov-report=term-missing -m "cuda_required"

0 comments on commit d5c4b3a

Please sign in to comment.