Skip to content

Commit a40023d

Browse files
authored
Skip duplicate downgrade tests (#639)
* Skip duplicate downgrade tests * Cancel concurrent downgrade job
1 parent 88cf1bc commit a40023d

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.github/workflows/downgrade.yml

+22
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,39 @@
11
name: Downgrade
2+
3+
concurrency:
4+
group: build-${{ github.event.pull_request.number || github.ref }}-${{ github.workflow }}
5+
cancel-in-progress: true
6+
27
on:
38
pull_request:
49
branches:
510
- master
611
paths-ignore:
712
- 'docs/**'
13+
- 'LICENSE'
14+
- 'README.md'
15+
- '.github/workflows/TagBot.yml'
816
push:
917
branches:
1018
- master
1119
paths-ignore:
1220
- 'docs/**'
21+
- 'LICENSE'
22+
- 'README.md'
23+
- '.github/workflows/TagBot.yml'
1324
jobs:
25+
pre_job:
26+
# continue-on-error: true # Uncomment once integration is finished
27+
runs-on: ubuntu-latest
28+
# Map a step output to a job output
29+
outputs:
30+
should_skip: ${{ steps.skip_check.outputs.should_skip }}
31+
steps:
32+
- id: skip_check
33+
uses: fkirc/skip-duplicate-actions@v5
1434
test:
35+
needs: pre_job
36+
if: needs.pre_job.outputs.should_skip != 'true'
1537
runs-on: ubuntu-latest
1638
strategy:
1739
matrix:

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ApproxFunBase"
22
uuid = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
3-
version = "0.9.24"
3+
version = "0.9.25"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"

0 commit comments

Comments
 (0)