Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

add one or more spaces before duration (#20) #40

add one or more spaces before duration (#20)

add one or more spaces before duration (#20) #40

Workflow file for this run

name: M3UKit
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: macos-latest
steps:
- name: Get Sources
uses: actions/checkout@v2
- name: Build Package
run: swift build -v
- name: Run tests
run: swift test --enable-code-coverage -v
- name: Gather code coverage
run: xcrun llvm-cov export -format="lcov" .build/debug/M3UKitPackageTests.xctest/Contents/MacOS/M3UKitPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: fail
files: ./coverage_report.lcov
verbose: true