Merge pull request #43 from Kishimotovn/master #55
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
test-linux: | |
strategy: | |
fail-fast: false | |
matrix: | |
image: | |
- swift:5.7-focal | |
- swift:5.8-focal | |
runs-on: ubuntu-latest | |
container: ${{ matrix.image }} | |
steps: | |
- name: Check out | |
uses: actions/checkout@v2 | |
- name: Run tests | |
run: swift test -c release | |
test-macos: | |
strategy: | |
fail-fast: false | |
matrix: | |
xcode: | |
- latest | |
- latest-stable | |
runs-on: macos-latest | |
steps: | |
- name: Select toolchain | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: ${{ matrix.xcode }} | |
- name: Check out | |
uses: actions/checkout@v2 | |
- name: Run tests | |
run: swift test -c release |