test: Fixed tests #79
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test-xcode: | |
runs-on: macos-12 | |
strategy: | |
matrix: | |
xcode: | |
- 13.2.1 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Select Xcode ${{ matrix.xcode }} | |
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app | |
- name: Build | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v | |
test-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v --enable-test-discovery |