Skip to content

chore(ci): Explicitly set codecov token #246

chore(ci): Explicitly set codecov token

chore(ci): Explicitly set codecov token #246

Workflow file for this run

name: validate
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
runs-on: blaze/macos-14
strategy:
matrix:
target: [macos, iOS]
include:
- target: iOS
destination: '-destination "platform=iOS Simulator,name=iPhone 15 Pro"'
- target: macos
destination: '-destination "platform=macOS,name=Any Mac"'
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Run Tests
run: xcodebuild test -scheme SwiftAudioEx ${{ matrix.destination }} -enableCodeCoverage YES
- name: Upload coverage to Codecov
if: matrix.target == 'macos'
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}