Swift 6 #222
Workflow file for this run
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 CodableDatastore | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
Test-Release: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
swift build --build-tests --configuration release -Xswiftc -enable-testing -Xswiftc -warnings-as-errors -Xcc -Werror | |
- name: Run Tests | |
run: | | |
swift test --skip-build --configuration release | |
Test-Debug: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
swift build --build-tests --configuration debug -Xswiftc -enable-testing -Xswiftc -warnings-as-errors -Xcc -Werror | |
- name: Run Tests | |
run: | | |
swift test --skip-build --configuration debug |