remove: coverage report

Temporarily removing coverage report until it is a stable feature
This commit is contained in:
ITOH
2021-05-21 22:59:08 +02:00
parent 6d68d639d0
commit 58b77b6dba
2 changed files with 11 additions and 6 deletions

View File

@@ -18,11 +18,12 @@ jobs:
run: DISCORD_TOKEN=${{ env.DISCORD_TOKEN }} deno test --unstable --coverage=coverage -A tests/mod.ts
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
- name: Create coverage report
run: deno --unstable --exclude=test coverage ./coverage --lcov > coverage.lcov
- name: Collect and upload the coverage report
uses: codecov/codecov-action@v1.0.10
with:
file: ./coverage.lcov
# TODO: add coverage back when it is stable
# - name: Create coverage report
# run: deno --unstable --exclude=test coverage ./coverage --lcov > coverage.lcov
# - name: Collect and upload the coverage report
# uses: codecov/codecov-action@v1.0.10
# with:
# file: ./coverage.lcov
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}