Amb: forward cancel to the inner publishers #555
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: CombineExt | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
xcode-tests: | |
name: "Test" | |
runs-on: macOS-latest | |
strategy: | |
matrix: | |
platform: [macOS, iOS, tvOS] | |
include: | |
- platform: macOS | |
sdk: macosx | |
destination: "arch=x86_64" | |
- platform: iOS | |
sdk: iphonesimulator | |
destination: "name=iPhone 11" | |
- platform: tvOS | |
sdk: appletvsimulator | |
destination: "name=Apple TV" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate project | |
run: make project | |
- name: Run tests | |
run: set -o pipefail && xcodebuild -project CombineExt.xcodeproj -scheme CombineExt-Package -enableCodeCoverage YES -sdk ${{ matrix.sdk }} -destination "${{ matrix.destination }}" test | xcpretty -c -r html --output logs/${{ matrix.platform }}.html | |
- uses: codecov/[email protected] | |
with: | |
token: 1519d58c-6fb9-483f-af6c-7f6f0b384345 | |
name: CombineExt | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: build-logs-${{ github.run_id }} | |
path: logs | |
SPM: | |
name: "Test (SPM)" | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run tests | |
run: set -o pipefail && swift test |