CI: Fix test job

This commit is contained in:
Jack Grigg
2024-01-28 04:21:51 +00:00
parent a24de089e0
commit 137df751fe
+7 -6
View File
@@ -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