mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 08:50:07 +00:00
Merge pull request #972 from discordeno/remove-coverage-report
remove: coverage report
This commit is contained in:
13
.github/workflows/pr_tests.yml
vendored
13
.github/workflows/pr_tests.yml
vendored
@@ -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 }}
|
||||
|
||||
17
.github/workflows/test.yml
vendored
17
.github/workflows/test.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -9,7 +9,11 @@ Discordeno follows [Semantic Versioning](https://semver.org/)
|
||||
[](https://discord.com/invite/5vBgXk3UcZ)
|
||||

|
||||

|
||||
|
||||
<!--
|
||||
TODO: add coverage back when it is stable
|
||||
[](https://codecov.io/gh/discordeno/discordeno)
|
||||
-->
|
||||
|
||||
## Features
|
||||
|
||||
|
||||
Reference in New Issue
Block a user