Skip to content

Commit

Permalink
nit: add a skip condition and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang authored Dec 27, 2024
1 parent 7c5f9b9 commit 4e05ef2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gh-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
env:
# we use self-hosted runners on which setup-python behaves weirdly...
AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache"

- name: Set up mini CTK
Expand All @@ -283,8 +284,10 @@ jobs:
cuda-version: ${{ matrix.cuda-version }}

- name: Install dependencies
if: ${{ env.SKIP_CUDA_BINDINGS_TEST == '0' }}
shell: bash --noprofile --norc -xeuo pipefail {0}
run: |
# cython tests require gcc
apt install -y build-essential
- name: Run cuda.bindings tests
Expand Down

0 comments on commit 4e05ef2

Please sign in to comment.