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

Update seasonEpisodeRegex to support different kinds of season&episode matching #45

Update seasonEpisodeRegex to support different kinds of season&episode matching

Update seasonEpisodeRegex to support different kinds of season&episode matching #45

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