Skip to content

ci: fix

ci: fix #8

Workflow file for this run

name: Rust Tests and Codecov
on:
push:
branches:
- main # Change this to your default branch name if different
pull_request:
workflow_dispatch:
jobs:
build:
name: Rust Tests and Codecov
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Rust
uses: ATiltedTree/[email protected]
with:
rust-version: stable
- name: Install Dependencies
run: cargo build --verbose
- name: Run Tests with Tarpaulin
run: cargo tarpaulin --verbose --out Xml
if: success()
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # Add your Codecov token as a secret