Skip to content

Commit fcaac97

Browse files
Merge pull request #12 from NeedleInAJayStack/feature/CI
Adds GitHub CI to automate merge test runs
2 parents 3d34c1b + 6af1c2b commit fcaac97

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
jobs:
9+
build:
10+
name: Build and test on ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [macos-latest, ubuntu-latest]
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: fwal/setup-swift@v1
18+
- name: Build
19+
run: swift build
20+
- name: Run tests
21+
run: swift test

0 commit comments

Comments
 (0)