Add action to run tests
This commit is contained in:
parent
d3a1cf54e2
commit
87c52e97f6
1 changed files with 15 additions and 0 deletions
15
.github/workflows/test.yml
vendored
Normal file
15
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
name: Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- '.github/workflows/test.yml'
|
||||||
|
- '**/*.swift'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
SwiftLint:
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Run tests
|
||||||
|
run: swift test
|
Loading…
Add table
Reference in a new issue