Create build-and-test.yml

This commit is contained in:
Alexander Ignatov 2021-12-16 01:15:07 +02:00 committed by GitHub
parent 45ffca0785
commit 52404404d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

19
.github/workflows/build-and-test.yml vendored Normal file
View File

@ -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