summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Peter <mail@david-peter.de>2021-02-20 22:09:04 +0100
committerDavid Peter <sharkdp@users.noreply.github.com>2021-02-21 10:24:27 +0100
commit557a748ac76bb667688cdae44d949cae0d7fedb2 (patch)
tree5568a7460cac512ae292a75a011636385e94e8d6
parent3f10f71ad2e2ff90f9a04a9e3fe7f6491128e2cf (diff)
CICD: Remove code coverage computation
-rw-r--r--.github/workflows/CICD.yml46
1 files changed, 0 insertions, 46 deletions
diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml
index 4bb94f17..b9be583d 100644
--- a/.github/workflows/CICD.yml
+++ b/.github/workflows/CICD.yml
@@ -388,49 +388,3 @@ jobs:
${{ steps.debian-package.outputs.DPKG_PATH }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- coverage:
- name: Code Coverage
- if: "false" # Temporarily disabled until made functional again, see https://github.com/sharkdp/bat/pull/1484
- runs-on: ${{ matrix.job.os }}
- strategy:
- fail-fast: true
- matrix:
- job:
- - { os: ubuntu-18.04 , toolchain: nightly-2020-04-29 }
- - { os: macos-10.15 , toolchain: nightly-2020-04-29 }
- - { os: windows-2019 , toolchain: nightly-2020-04-29-x86_64-pc-windows-gnu }
- steps:
- - uses: actions/checkout@v2
- - name: Initialize workflow variables
- id: vars
- shell: bash
- run: |
- # target-specific options
- # * CODECOV_FLAGS
- CODECOV_FLAGS=$( echo "${{ matrix.job.os }}" | sed 's/[^[:alnum:]]/_/g' )
- echo ::set-output name=CODECOV_FLAGS::${CODECOV_FLAGS}
- - name: rust toolchain ~ install
- uses: actions-rs/toolchain@v1
- with:
- toolchain: ${{ matrix.job.toolchain }}
- override: true
- profile: minimal # minimal component installation (ie, no documentation)
- - name: Test
- uses: actions-rs/cargo@v1
- with:
- command: test
- args: --no-fail-fast
- env:
- CARGO_INCREMENTAL: '0'
- RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads'
- - name: Generate coverage data
- id: coverage
- uses: actions-rs/grcov@v0.1
- - name: Upload coverage results (to Codecov.io)
- uses: codecov/codecov-action@v1
- with:
- file: ${{ steps.coverage.outputs.report }}
- flags: ${{ steps.vars.outputs.CODECOV_FLAGS }}
- name: codecov-umbrella
- fail_ci_if_error: false