Files
aare_launcher/.gitea/workflows/test-and-coverage.yaml
T
perl_d f10f8224a5
Check and Lint / Rustfmt (pull_request) Successful in 16s
Check and Lint / Check (pull_request) Successful in 29s
Test and Coverage / Test (pull_request) Successful in 22s
Check and Lint / Clippy (pull_request) Successful in 27s
Check and Lint / Build RPM (pull_request) Successful in 25s
Test and Coverage / Coverage (pull_request) Successful in 38s
Check and Lint / Rustfmt (push) Successful in 16s
Check and Lint / Check (push) Successful in 21s
Check and Lint / Clippy (push) Successful in 22s
Check and Lint / Build RPM (push) Successful in 20s
Test and Coverage / Test (push) Successful in 19s
Test and Coverage / Coverage (push) Successful in 38s
Release / Build and push RPM (push) Failing after 1m12s
ci: fix cov workflow
2026-07-24 11:37:16 +02:00

36 lines
1023 B
YAML

name: Test and Coverage
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: https://github.com/dtolnay/rust-toolchain@stable
- uses: https://github.com/Swatinem/rust-cache@v2
- run: cargo test --all-features
coverage:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: https://github.com/dtolnay/rust-toolchain@stable
- uses: https://github.com/Swatinem/rust-cache@v2
- name: Install cargo-tarpaulin
uses: https://github.com/taiki-e/install-action@v2
with:
tool: cargo-tarpaulin
- name: Generate code coverage
run: cargo tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
- uses: https://github.com/actions/upload-artifact@v3
with:
name: coverage
path: cobertura.xml