Skip to content

chore: Update with latest xcode #48

chore: Update with latest xcode

chore: Update with latest xcode #48

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- run: swift test --enable-code-coverage
- uses: ./
name: Run swifty-code-coverage
with:
build-path: .build
target: SamplePackageTests.xctest
is-spm: true
output: "coverage/lcov.info"
output-artifact-name: "codecov-artifact"
- name: Upload to Codecov
run: |
bash <(curl https://codecov.io/bash) -f "coverage/*.info"
shell: bash
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}