Skip to content

Commit

Permalink
restrict test run with profile flag 'do-not-run'
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVCaron committed Aug 26, 2024
1 parent 8fa818c commit ed43331
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,15 @@ jobs:
fail-fast: false
matrix:
path: [ "${{ fromJson(needs.nf-test-changes.outputs.paths) }}" ]
exclude:
- path: subworkflows/nf-scil/load_test_data
include:
- profile: docker
- runner: scilus-nf-scil-runners
- path: modules/nf-scil/registration/easyreg
profile: dummy-to-remove
profile: do-not-run
- runner: scilus-nf-scil-bigmem-runners
path: modules/nf-scil/registration/easyreg
exclude:
- path: subworkflows/nf-scil/load_test_data
- path: modules/nf-scil/registration/easyreg
profile: dummy-to-remove
uses: ./.github/workflows/nf-test_module.yml
with:
profile: ${{ matrix.profile }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nf-test_module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
nf-test:
runs-on: ${{ inputs.runner }}
name: nf-test-${{ inputs.paths }}
if: inputs.paths != ''
if: inputs.paths != '' && inputs.profile != 'do-not-run'
env:
NXF_ANSI_LOG: false
NFTEST_VER: "0.9.0-rc1"
Expand Down

0 comments on commit ed43331

Please sign in to comment.