Skip to content

Commit c533f6d

Browse files
authored
Smarter CI (#44)
1 parent fba62dc commit c533f6d

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
name: CI
2+
23
env:
34
JULIA_NUM_THREADS: 2
45
on:
5-
- push
6-
- pull_request
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
11+
12+
concurrency:
13+
# Skip intermediate builds: always.
14+
# Cancel intermediate builds: only if it is a pull request build.
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
17+
718
jobs:
819
test:
920
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}

0 commit comments

Comments
 (0)