Merge pull request #12 from num42/add_github_actions_workflow #3
This file contains hidden or 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: | |
- main | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_16.4.app/Contents/Developer | |
jobs: | |
test: | |
runs-on: macOS-15 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Test Build | |
run: swift build -Xswiftc -warnings-as-errors --enable-experimental-prebuilts | |
- name: Run Tests | |
run: swift test -Xswiftc -warnings-as-errors --enable-experimental-prebuilts |