@@ -388,49 +388,3 @@ jobs:
388388 ${{ steps.debian-package.outputs.DPKG_PATH }}
389389 env:
390390 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
391−
392− coverage:
393− name: Code Coverage
394− if: "false" # Temporarily disabled until made functional again, see https://github.com/sharkdp/bat/pull/1484
395− runs-on: ${{ matrix.job.os }}
396− strategy:
397− fail-fast: true
398− matrix:
399− job:
400− - { os: ubuntu-18.04 , toolchain: nightly-2020-04-29 }
401− - { os: macos-10.15 , toolchain: nightly-2020-04-29 }
402− - { os: windows-2019 , toolchain: nightly-2020-04-29-x86_64-pc-windows-gnu }
403− steps:
404− - uses: actions/checkout@v2
405− - name: Initialize workflow variables
406− id: vars
407− shell: bash
408− run: |
409− # target-specific options
410− # * CODECOV_FLAGS
411− CODECOV_FLAGS=$( echo "${{ matrix.job.os }}" | sed 's/[^[:alnum:]]/_/g' )
412− echo ::set-output name=CODECOV_FLAGS::${CODECOV_FLAGS}
413− - name: rust toolchain ~ install
414− uses: actions-rs/toolchain@v1
415− with:
416− toolchain: ${{ matrix.job.toolchain }}
417− override: true
418− profile: minimal # minimal component installation (ie, no documentation)
419− - name: Test
420− uses: actions-rs/cargo@v1
421− with:
422− command: test
423− args: --no-fail-fast
424− env:
425− CARGO_INCREMENTAL: '0'
426− RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads'
427− - name: Generate coverage data
428− id: coverage
429− uses: actions-rs/grcov@v0.1
430− - name: Upload coverage results (to Codecov.io)
431− uses: codecov/codecov-action@v1
432− with:
433− file: ${{ steps.coverage.outputs.report }}
434− flags: ${{ steps.vars.outputs.CODECOV_FLAGS }}
435− name: codecov-umbrella
436− fail_ci_if_error: false