Skip to content

Commit bd43e58

Browse files
committed
[skip-tests] Also skip all CI runs that require a GPU when [skip-tests] is set
1 parent 60b12b3 commit bd43e58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pr.yml

+2
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ jobs:
9898
9999
nvrtc:
100100
name: NVRTC CUDA${{matrix.cuda}} C++${{matrix.std}}
101+
if: ${{ !contains(github.event.head_commit.message, 'skip-tests') }}
101102
needs: [compute-nvrtc-matrix, get-devcontainer-version]
102103
uses: ./.github/workflows/run-as-coder.yml
103104
strategy:
@@ -159,6 +160,7 @@ jobs:
159160

160161
examples:
161162
name: CCCL Examples
163+
if: ${{ !contains(github.event.head_commit.message, 'skip-tests') }}
162164
needs: [compute-nvcc-matrix, get-devcontainer-version]
163165
strategy:
164166
fail-fast: false

0 commit comments

Comments
 (0)