CI: Fix test job
This commit is contained in:
@@ -26,13 +26,14 @@ jobs:
|
|||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: sudo apt install ${{ matrix.build_deps }}
|
run: sudo apt install ${{ matrix.build_deps }}
|
||||||
if: matrix.build_deps != ''
|
if: matrix.build_deps != ''
|
||||||
- name: Install test dependencies
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
run: cargo install rage
|
id: stable-toolchain
|
||||||
- run: cargo fetch
|
- name: Install test dependencies using latest stable Rust
|
||||||
- name: Build tests
|
run: cargo +${{steps.stable-toolchain.outputs.name}} install rage
|
||||||
run: cargo build --verbose --tests
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose
|
run: cargo test
|
||||||
|
- name: Verify working directory is clean
|
||||||
|
run: git diff --exit-code
|
||||||
|
|
||||||
codecov:
|
codecov:
|
||||||
name: Code coverage
|
name: Code coverage
|
||||||
|
|||||||
Reference in New Issue
Block a user