Skip to content

enhancement: Update service_manager module #250

enhancement: Update service_manager module

enhancement: Update service_manager module #250

Workflow file for this run

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