Update and expand CI testing #37
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: CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- 'README.md' | ||
- 'CODE_OF_CONDUCT.md' | ||
- '.editorconfig' | ||
- '.spi.yml' | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
test_macos_13: | ||
name: Test macOS 13 | ||
runs-on: macOS-13 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: test | ||
run: swift test | ||
test_macos_13: | ||
name: Test macOS 14 | ||
runs-on: macOS-14 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: test | ||
run: swift test | ||
test_linux: | ||
name: Test Linux | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install swiftly | ||
run: curl -L https://swift-server.github.io/swiftly/swiftly-install.sh | bash -s -- -y | ||
- name: Install the latest Swift toolchain | ||
run: swiftly install latest | ||
- name: Test | ||
run: swift test |