remove: coverage report

This commit is contained in:
ITOH
2021-05-21 22:59:51 +02:00
parent 58b77b6dba
commit 62ef47b841

View File

@@ -17,13 +17,14 @@ jobs:
- name: Run test script for maintainers
if: ${{ github.actor == 'Skillz4Killz' || github.actor == 'itohatweb' }}
run: deno test --unstable --coverage=coverage -A tests/mod.ts
- name: Create coverage report
if: github.ref == 'refs/heads/main'
run: deno --unstable coverage --exclude=test ./coverage --lcov > coverage.lcov
- name: Collect and upload the coverage report
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v1.0.10
with:
file: ./coverage.lcov
# TODO: add coverage back when it is stable
# - name: Create coverage report
# if: github.ref == 'refs/heads/main'
# run: deno --unstable coverage --exclude=test ./coverage --lcov > coverage.lcov
# - name: Collect and upload the coverage report
# if: github.ref == 'refs/heads/main'
# uses: codecov/codecov-action@v1.0.10
# with:
# file: ./coverage.lcov
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}