Create build-and-test.yml
This commit is contained in:
parent
45ffca0785
commit
52404404d8
|
@ -0,0 +1,19 @@
|
||||||
|
name: Build & Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-n-test:
|
||||||
|
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build
|
||||||
|
run: swift build -v
|
||||||
|
- name: Run tests
|
||||||
|
run: swift test -v
|
Loading…
Reference in New Issue