fix a test #85
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: tests | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
linux-all: | |
strategy: | |
fail-fast: false | |
matrix: | |
container: | |
- swift:5.2-bionic | |
- swift:5.3-bionic | |
- swift:5.4-bionic | |
- swift:5.5-focal | |
- swift:5.6-focal | |
- swift:5.7-jammy | |
- swift:5.8-jammy | |
- swiftlang/swift:nightly-main-jammy | |
container: ${{ matrix.container }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out package | |
uses: actions/checkout@v3 | |
- name: Run tests | |
run: swift test --enable-test-discovery | |
macos-all: | |
strategy: | |
fail-fast: false | |
matrix: | |
xcode: | |
- latest-stable | |
- latest | |
include: | |
- xcode: latest-stable | |
runs-on: macos-12 | |
steps: | |
- name: Select latest available Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: ${{ matrix.xcode }} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
swift test --enable-test-discovery \ | |
-Xlinker -rpath \ | |
-Xlinker $(xcode-select -p)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.5/macosx |