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
36 lines
1023 B
YAML
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
|