Skip to content

Commit 7bb69c4

Browse files
authored
Merge pull request #10 from mxcl/continuous-resilience
#continuous-resilience
2 parents c382407 + 6b127ed commit 7bb69c4

File tree

3 files changed

+24
-78
lines changed

3 files changed

+24
-78
lines changed

.github/workflows/checks.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
name: Checks
2-
on:
1+
on:
32
push:
43
branches:
5-
- master
4+
- master
65
jobs:
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

.github/workflows/ci.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
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
39
jobs:
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:

.travis.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)