Skip to content

Commit d661f2a

Browse files
committed
Slight improvements
1 parent e3be645 commit d661f2a

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/workflows/CI.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
name: CI
2+
23
on:
34
pull_request:
45
branches:
56
- master
67
push:
78
branches:
89
- master
10+
11+
concurrency:
12+
# Skip intermediate builds: always.
13+
# Cancel intermediate builds: only if it is a pull request build.
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
16+
917
jobs:
1018
test:
1119
runs-on: ubuntu-latest
@@ -30,10 +38,10 @@ jobs:
3038
- uses: julia-actions/cache@v1
3139
- uses: julia-actions/julia-buildpkg@v1
3240
with:
33-
project: "${{ matrix.pkg == 'DiffEqProblemLibrary' && '@.' || format('lib/{0}', matrix.pkg) }}"
41+
project: "${{ matrix.pkg == 'DiffEqProblemLibrary' && '.' || format('lib/{0}', matrix.pkg) }}"
3442
- uses: julia-actions/julia-runtest@v1
3543
with:
36-
project: "${{ matrix.pkg == 'DiffEqProblemLibrary' && '@.' || format('lib/{0}', matrix.pkg) }}"
44+
project: "${{ matrix.pkg == 'DiffEqProblemLibrary' && '.' || format('lib/{0}', matrix.pkg) }}"
3745
- uses: julia-actions/julia-processcoverage@v1
3846
- uses: codecov/codecov-action@v3
3947
with:

.github/workflows/FormatCheck.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
tags: '*'
99
pull_request:
1010

11+
concurrency:
12+
# Skip intermediate builds: always.
13+
# Cancel intermediate builds: only if it is a pull request build.
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
16+
1117
jobs:
1218
build:
1319
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)