From 58b77b6dbabdff277a3cc82830a2c5bad774dca8 Mon Sep 17 00:00:00 2001 From: ITOH Date: Fri, 21 May 2021 22:59:08 +0200 Subject: [PATCH 1/2] remove: coverage report Temporarily removing coverage report until it is a stable feature --- .github/workflows/pr_tests.yml | 13 +++++++------ README.md | 4 ++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml index 5ba4f97c8..bccd47892 100644 --- a/.github/workflows/pr_tests.yml +++ b/.github/workflows/pr_tests.yml @@ -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 }} diff --git a/README.md b/README.md index fa3c50bbc..3b99632e4 100644 --- a/README.md +++ b/README.md @@ -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) + + ## Features From 62ef47b8418ded2b1d310caa7c55df244c8fc549 Mon Sep 17 00:00:00 2001 From: ITOH Date: Fri, 21 May 2021 22:59:51 +0200 Subject: [PATCH 2/2] remove: coverage report --- .github/workflows/test.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c7baf4e3..424d77d6d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }}