Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

CI: Update workflow trigger #12

CI: Update workflow trigger

CI: Update workflow trigger #12

Workflow file for this run

name: Coverage
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
codecov:
name: Code coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
git config --global url."https://${{ secrets.ROBOT_TOPOSWARE_PRIV_REPOS_TOKEN }}@github.com/".insteadOf "https://github.com/"
- name: Install Protoc
uses: arduino/setup-protoc@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/tarpaulin@v0.1
with:
args: "--engine llvm --workspace --all-features --release"
timeout: 600
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true