Skip to content

Commit 4383abd

Browse files
committed
Simplifications to unit testing in the CI pipeline.
- Stop running unit tests on pushes to every branch; only run them on (a) pushes to master or (b) pull requests. - Stop running unit tests on nightly (since they don't provide much useful information and fail too often). - Only run unit tests on Linux so that we don't go outside of GitHub Action's usage limits.
1 parent a76d5e0 commit 4383abd

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches:
5+
- master
6+
pull_request:
57
jobs:
68
test:
79
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -11,18 +13,10 @@ jobs:
1113
matrix:
1214
version:
1315
- '1' # Latest release
14-
- 'nightly'
1516
os:
1617
- ubuntu-latest
17-
- macOS-latest
18-
- windows-latest
1918
arch:
2019
- x64
21-
exclude:
22-
- os: macOS-latest
23-
version: 'nightly'
24-
- os: windows-latest
25-
version: 'nightly'
2620
steps:
2721
- uses: actions/checkout@v2
2822
- uses: julia-actions/setup-julia@v1

0 commit comments

Comments
 (0)