remove coverage
This commit is contained in:
parent
97129c77ca
commit
7081094cb2
|
@ -1,32 +0,0 @@
|
||||||
on: [push]
|
|
||||||
|
|
||||||
name: Code Coverage
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: nightly
|
|
||||||
override: true
|
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: test
|
|
||||||
args: --all-features --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 report
|
|
||||||
id: coverage
|
|
||||||
uses: actions-rs/grcov@v0.1
|
|
||||||
- name: list all /tmp files
|
|
||||||
run: ls -la /tmp
|
|
||||||
- name: Copy generated report
|
|
||||||
run: cp ${{ steps.coverage.outputs.report }} ${{ github.workspace }}/lcov.info
|
|
||||||
- name: Upload coverage report
|
|
||||||
uses: codecov/codecov-action@v1.0.2
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
file: ./lcov.info
|
|
Loading…
Reference in New Issue