Complete existing tests #54
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: Build&Test | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v --enable-code-coverage | |
- name: Prepare Code Coverage | |
run: xcrun llvm-cov export -format="lcov" .build/debug/TMDBKitPackageTests.xctest/Contents/MacOS/TMDBKitPackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov | |
- name: Upload to CodeCov.io | |
run: bash <(curl https://codecov.io/bash) | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |