From 540bfd17243ba512be30c2659705649db575bebe Mon Sep 17 00:00:00 2001 From: utam0k Date: Mon, 6 Sep 2021 00:39:32 +0900 Subject: [PATCH] disable the code coverage because of unstable. --- .github/workflows/main.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a94e602b0..66da3ca51 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -69,33 +69,33 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: ${{ matrix.rust }} override: true - run: sudo apt-get -y update - run: sudo apt-get install -y pkg-config libsystemd-dev libdbus-glib-1-dev libelf-dev - name: Build run: ./build.sh --release - name: Run tests - run: cargo test - env: - CARGO_INCREMENTAL: "0" - RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" - RUSTDOCFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" + run: cargo test --no-fail-fast + # env: + # CARGO_INCREMENTAL: "0" + # RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" + # RUSTDOCFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" - name: Run doc tests run: cargo test --doc - name: Run cgroup tests working-directory: cgroups - run: cargo test - env: - CARGO_INCREMENTAL: "0" - RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" - RUSTDOCFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" - - name: Coverage - uses: actions-rs/grcov@v0.1 - with: - config: .github/grcov.yml - - name: Upload Results - uses: codecov/codecov-action@v2 + run: cargo test --no-fail-fast + # env: + # CARGO_INCREMENTAL: "0" + # RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" + # RUSTDOCFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests" + # - name: Coverage + # uses: actions-rs/grcov@v0.1 + # with: + # config: .github/grcov.yml + # - name: Upload Results + # uses: codecov/codecov-action@v2 integration_tests: runs-on: ubuntu-latest strategy: