From 901bd7990427e4201c452b04ac0797c27982630f Mon Sep 17 00:00:00 2001 From: Juuso Tuononen Date: Sun, 26 May 2024 20:41:09 +0300 Subject: [PATCH] Remove test code coverage --- .github/workflows/test.yml | 18 ++---------------- README.md | 1 - 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ec636b6a..d9af7f52c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,7 +50,7 @@ jobs: runs-on: ${{ matrix.os }} env: - RUSTFLAGS: "-Dwarnings -Cinstrument-coverage -Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort" + RUSTFLAGS: "-Dwarnings -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort" CARGO_INCREMENTAL: "0" RUSTDOCFLAGS: "-Cpanic=abort" RUSTC_BOOTSTRAP: "1" @@ -61,7 +61,6 @@ jobs: - uses: actions-rs/toolchain@v1 with: toolchain: ${{matrix.rust}} - components: llvm-tools-preview - uses: actions/cache@v2 with: @@ -72,18 +71,5 @@ jobs: - name: Build run: cargo build - - name: Install grcov - run: cargo install grcov - - name: Run tests - run: LLVM_PROFILE_FILE="fcm-rust-%p-%m.profraw" cargo test - - - name: Collect results - run: grcov . -s . --binary-path ./target/debug/ -t lcov --branch --ignore-not-existing -o ./tests.lcov - - - name: Coveralls GitHub Action - uses: coverallsapp/github-action@v2.2.3 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - file: ./tests.lcov - + run: cargo test diff --git a/README.md b/README.md index 9cf1cccbc..b2a58c736 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # fcm-rust [![Cargo tests](https://github.com/rj76/fcm-rust/actions/workflows/test.yml/badge.svg)](https://github.com/rj76/fcm-rust/actions/workflows/test.yml) -[![Coverage Status](https://coveralls.io/repos/github/rj76/fcm-rust/badge.svg)](https://coveralls.io/github/rj76/fcm-rust) [//]: # ([![Crates.io Version](https://img.shields.io/crates/v/fcm.svg?style=flat-square)) [//]: # ([![Crates.io Downloads](https://img.shields.io/crates/dv/fcm.svg?style=flat-square))