From 63e9fa2e2606a54d28c3b0ae834d1ca522e09252 Mon Sep 17 00:00:00 2001 From: Anupam Sengupta Date: Fri, 20 Dec 2024 08:16:48 -0500 Subject: [PATCH] Removed the `.coveralls.yml` configuration file. This is now handled by Github action variables and secrets. --- .coveralls.yml | 2 -- .github/workflows/coveralls.yml | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) delete mode 100644 .coveralls.yml diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index 5d03fa3..0000000 --- a/.coveralls.yml +++ /dev/null @@ -1,2 +0,0 @@ -service-name: github -repo_token: 5JHbEro1j0uJyxWvQSF67Ds1U6UPHyOmj diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 8dd184f..7bd5fcd 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -1,14 +1,19 @@ # Check the test coverage of the code. # -# This runs as a Github Action. +# This runs as a Github Action. Note that the Coverall repository token is +# injected as an environment variable, instead of being read from +#`.coveralls.yaml` config file. # # See https://github.com/marketplace/actions/coveralls-github-action +# +# Also see name: Test Coveralls on: ["push", "pull_request"] env: COVERAGE: true + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} jobs: test: