From 616d94d28f7000535e7bc3aec2445e5ad26f514a Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Mon, 8 Feb 2021 13:55:27 +0100 Subject: [PATCH] Fix CI success conditions --- .github/workflows/ci.yml | 5 ++++- logger/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c60c2ba..5950ba9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,7 @@ jobs: shell: bash - name: Run all unit tests on the host run: cargo test --workspace --features unstable-test + no-std: runs-on: ubuntu-latest steps: @@ -158,7 +159,7 @@ jobs: working-directory: firmware/qemu run: ./test.sh - # Refs: https://github.com/rust-lang/crater/blob/9ab6f9697c901c4a44025cf0a39b73ad5b37d198/.github/workflows/bors.yml#L125-L149 + # Refs: https://github.com/rust-lang/crater/blob/9ab6f9697c901c4a44025cf0a39b73ad5b37d198/.github/workflows/bors.yml#L125-L149 # bors.tech integration ci-success: name: ci @@ -166,6 +167,8 @@ jobs: needs: - test - no-std + - clippy + - rustfmt - mdbook - qemu runs-on: ubuntu-20.04 diff --git a/logger/Cargo.toml b/logger/Cargo.toml index 0102091a..2b11f34c 100644 --- a/logger/Cargo.toml +++ b/logger/Cargo.toml @@ -17,4 +17,4 @@ difference = "2.0.0" log = { version = "0.4.13", features = ["std"] } [features] -unstable = [] \ No newline at end of file +unstable = []