Remove binary files #249
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: Code Coverage | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
code-coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Install Tarpaulin | |
run: cargo install cargo-tarpaulin | |
working-directory: ./render_cdk | |
- name: Run tests with coverage | |
env: | |
API_KEY: ${{ secrets.API_KEY }} | |
OWNER_CREDENTIALS: ${{ secrets.OWNER_CREDENTIALS }} | |
run: cargo tarpaulin --out Xml | |
working-directory: ./render_cdk | |
- name: Upload coverage report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: coverage-report | |
path: ./render_cdk/tarpaulin-report.xml | |
# Publish to [Codecov] | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
# files: ./tarpaulin-report.xml | |
# flags: unittests | |
# name: codecov-umbrella | |
# fail_ci_if_error: true |