Skip to content

Commit 3ed8ffe

Browse files
authored
Skip duplicate downstream tests (#160)
1 parent 5298096 commit 3ed8ffe

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/downstream.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,18 @@ on:
1010
- '.github/workflows/TagBot.yml'
1111

1212
jobs:
13+
pre_job:
14+
# continue-on-error: true # Uncomment once integration is finished
15+
runs-on: ubuntu-latest
16+
# Map a step output to a job output
17+
outputs:
18+
should_skip: ${{ steps.skip_check.outputs.should_skip }}
19+
steps:
20+
- id: skip_check
21+
uses: fkirc/skip-duplicate-actions@v5
1322
test:
23+
needs: pre_job
24+
if: needs.pre_job.outputs.should_skip != 'true'
1425
name: ${{ matrix.package.group }}/${{ matrix.package.repo }}/${{ matrix.julia-version }}
1526
runs-on: ${{ matrix.os }}
1627
strategy:

0 commit comments

Comments
 (0)