Merge pull request #972 from discordeno/remove-coverage-report

remove: coverage report
This commit is contained in:
Skillz4Killz
2021-05-21 20:11:54 -04:00
committed by GitHub
3 changed files with 20 additions and 14 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 }}

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 }}

View File

@@ -9,7 +9,11 @@ Discordeno follows [Semantic Versioning](https://semver.org/)
[![Discord](https://img.shields.io/discord/785384884197392384?color=7289da&logo=discord&logoColor=dark)](https://discord.com/invite/5vBgXk3UcZ)
![Lint](https://github.com/discordeno/discordeno/workflows/Lint/badge.svg)
![Test](https://github.com/discordeno/discordeno/workflows/Test/badge.svg)
<!--
TODO: add coverage back when it is stable
[![Coverage](https://img.shields.io/codecov/c/gh/discordeno/discordeno)](https://codecov.io/gh/discordeno/discordeno)
-->
## Features