File tree Expand file tree Collapse file tree 3 files changed +24
-78
lines changed
Expand file tree Collapse file tree 3 files changed +24
-78
lines changed Original file line number Diff line number Diff line change 1- name : Checks
2- on :
1+ on :
32 push :
43 branches :
5- - master
4+ - master
65jobs :
76 macOS :
8- runs-on : macos -latest
7+ runs-on : ubuntu -latest
98 steps :
10- - uses : actions/checkout@v2
11- - run : swift --version
12- - run : swift test
9+ - uses : actions/checkout@v2
10+ - run : swift --version
11+ - run : swift test --parallel
Original file line number Diff line number Diff line change 1- name : CI
2- on : [pull_request]
1+ on :
2+ pull_request :
3+ paths :
4+ - Sources/**
5+ - Tests/**
6+ - .github/workflows/ci.yml
7+ schedule :
8+ - cron : ' 3 3 * * 2' # 3:03 AM, every Tuesday
39jobs :
4- smoke :
5- runs-on : macos-latest
6- steps :
7- - uses : technote-space/auto-cancel-redundant-job@v1
8- - uses : actions/checkout@v2
9- - run : swift test --generate-linuxmain
10- - run : git diff --exit-code
1110 macOS :
1211 runs-on : macos-10.15
1312 strategy :
@@ -25,17 +24,21 @@ jobs:
2524 with :
2625 xcode-version : ${{ matrix.xcode }}
2726 - run : swift test --parallel -Xswiftc -warnings-as-errors
27+ - run : |
28+ swift test --generate-linuxmain
29+ git diff --exit-code
30+ if: ${{ matrix.xcode == '12.4' }}
2831 linux :
2932 runs-on : ubuntu-latest
3033 strategy :
3134 matrix :
3235 swift :
33- - 4.2.1
34- - 5.0.3
35- - 5.1.5
36- - 5.2.5
37- - 5.3.3
38- - 5.4.1
36+ - ' 4.2'
37+ - ' 5.0'
38+ - ' 5.1'
39+ - ' 5.2'
40+ - ' 5.3'
41+ - ' 5.4'
3942 container :
4043 image : swift:${{ matrix.swift }}
4144 steps :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments