Fixes tests & impoves platform isolation #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
pull_request: | |
push: { branches: [ main ] } | |
jobs: | |
macos-test: | |
runs-on: macos-latest | |
steps: | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest | |
- uses: actions/checkout@v2 | |
- name: Darwin build & test | |
run: swift test --skip IntegrationTests | |
linux-test: | |
runs-on: ubuntu-latest | |
container: | |
image: swift:latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Linux build & test | |
run: swift test --skip IntegrationTests |