Skip to content

Commit

Permalink
add skip-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlaughlin committed Aug 6, 2024
1 parent e721fcd commit 3f5bda5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-and-test-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Build and test whole matrix of options on linux
# -------------------------------------------------------------------------------------------------
test-linux-serial:
if: ${{ github.event_name == 'pull_request' || inputs.test_options == 'all' }}
if: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') || inputs.test_options == 'all' }}
strategy:
fail-fast: false
matrix:
Expand All @@ -40,9 +40,9 @@ jobs:
mfem-branch: ${{ matrix.mfem-branch }}
python-version: ${{ matrix.python-version }}
parallel: ${{ matrix.parallel }}

test-linux-parallel:
if: ${{ github.event_name == 'pull_request' || inputs.test_options == 'all' }}
if: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') || inputs.test_options == 'all' }}
strategy:
fail-fast: false
matrix:
Expand All @@ -56,7 +56,7 @@ jobs:
mfem-branch: ${{ matrix.mfem-branch }}
python-version: ${{ matrix.python-version }}
parallel: ${{ matrix.parallel }}

# -------------------------------------------------------------------------------------------------
# Fast test
# -------------------------------------------------------------------------------------------------
Expand All @@ -79,7 +79,7 @@ jobs:
# Specific cases (we want these to use defaults, and not expand the dimensions of the matrix)
# -------------------------------------------------------------------------------------------------
test-macos:
if: ${{ github.event_name == 'pull_request' || inputs.test_options == 'all' }}
if: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') || inputs.test_options == 'all' }}
strategy:
fail-fast: false
matrix:
Expand All @@ -91,21 +91,21 @@ jobs:
mfem-branch: ${{ matrix.mfem-branch }}

test-cuda:
if: ${{ github.event_name == 'pull_request' || inputs.test_options == 'all' || inputs.test_options == 'cuda'}}
if: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') || inputs.test_options == 'all' || inputs.test_options == 'cuda'}}
uses: ./.github/workflows/build-and-test-callable.yml
with:
cuda: true
name: test-cuda

test-libceed:
if: ${{ github.event_name == 'pull_request' || inputs.test_options == 'all' || inputs.test_options == 'libceed'}}
if: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') || inputs.test_options == 'all' || inputs.test_options == 'libceed'}}
uses: ./.github/workflows/build-and-test-callable.yml
with:
libceed: true
name: test-libceed

test-gslib:
if: ${{ github.event_name == 'pull_request' || inputs.test_options == 'all' || inputs.test_options == 'gslib'}}
if: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') || inputs.test_options == 'all' || inputs.test_options == 'gslib'}}
uses: ./.github/workflows/build-and-test-callable.yml
with:
gslib: true
Expand Down

0 comments on commit 3f5bda5

Please sign in to comment.