Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,45 @@ jobs:
- name: cargo check (all targets)
run: cargo check --all-targets --all-features

test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Cache cargo builds
uses: Swatinem/rust-cache@v2

- name: Run tests
run: cargo test --all-features --workspace

coverage:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Cache cargo builds
uses: Swatinem/rust-cache@v2

- name: Install cargo-tarpaulin
run: cargo install cargo-tarpaulin

- name: Generate coverage report
run: cargo tarpaulin --all-features --workspace --out xml --output-dir ./coverage

- name: Upload coverage to Codecov
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This step fails with:

error - 2025-10-06 18:52:25,639 -- Upload failed: {"message":"Token required - not valid tokenless upload"}

I think it's ok to just remove it personally

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed here 3b81f85

uses: codecov/codecov-action@v4
with:
files: ./coverage/cobertura.xml
fail_ci_if_error: false


Loading