Run tests in release configuration #164
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
# This workflow will build a Swift project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
name: Build&test macOS | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: macos-latest # used to be macos-latest | |
# look https://github.com/actions/runner-images/issues/6384 for info | |
# why it was changed from macos-latest to macOS-12 | |
steps: | |
- uses: swift-actions/setup-swift@v2 | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v -c release |