Run correct set of integration tests in build
workflow
#20
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: build | |
on: | |
push: | |
branches: [ "main", "dev/*", "test/*" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
xcode: ['xcode15', 'xcode14'] | |
include: | |
- xcode: 'xcode15' | |
xcode-path: '/Applications/Xcode_15.0.app' | |
macos: 'macos-13' | |
- xcode: 'xcode14' | |
xcode-path: '/Applications/Xcode_14.3.1.app' | |
macos: 'macos-13' | |
env: | |
DEVELOPER_DIR: ${{ matrix.xcode-path }} | |
runs-on: ${{ matrix.macos }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: build | |
run: swift build -v | |
- name: run unit tests | |
run: swift test --filter='AppcastTests' | |
- name: run integration tests | |
continue-on-error: true | |
run: swift test --filter='IntegrationTests' |