Skip to content

Commit

Permalink
Add CI support.
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfinnell committed Sep 19, 2020
1 parent 412ae99 commit aff243f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -v
- name: Run macOS tests
run: swift test -v
- name: Run iOS tests
run: xcodebuild test -scheme ViewKit -destination platform="iOS Simulator,name=iPhone 11 Pro"
- name: Run tvOS tests
run: xcodebuild test -scheme ViewKit -destination platform="tvOS Simulator,name=Apple TV 4K"

0 comments on commit aff243f

Please sign in to comment.