From 596dcb9ee01e00464e1c302ba7384fb582987fb8 Mon Sep 17 00:00:00 2001 From: Brian Koopman Date: Mon, 4 Nov 2024 15:09:10 -0500 Subject: [PATCH] Revert "Replace coveralls with codecov (#781)" This reverts commit 0a2dad4ddf75b7f727305fa3e99bc725585b0e8d. --- .github/codecov.yml | 20 -------------------- .github/workflows/pytest.yml | 4 ++++ README.rst | 4 ++-- 3 files changed, 6 insertions(+), 22 deletions(-) delete mode 100644 .github/codecov.yml diff --git a/.github/codecov.yml b/.github/codecov.yml deleted file mode 100644 index 68354fafe..000000000 --- a/.github/codecov.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -codecov: - branch: main - -# https://docs.codecov.com/docs/pull-request-comments#disable-comment -comment: false - -# https://docs.codecov.com/docs/commit-status -coverage: - status: - project: - default: - target: auto - threshold: 3 - paths: - - "socs/" - patch: false - -# When modifying this file, please validate using -# curl -X POST --data-binary @codecov.yml https://codecov.io/validate diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index b57c5b994..3a549ffe1 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -64,11 +64,15 @@ jobs: # Coverage - name: Report test coverage + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | mv ./tests/.coverage.* ./ + pip install -U coveralls coverage combine coverage xml coverage report + coveralls --service=github - name: Upload results to Codecov uses: codecov/codecov-action@v4 diff --git a/README.rst b/README.rst index b05e547a3..bd1971cbb 100644 --- a/README.rst +++ b/README.rst @@ -125,8 +125,8 @@ This project is licensed under the BSD 2-Clause License - see the .. _LICENSE.txt: https://github.com/simonsobs/socs/blob/main/LICENSE.txt -.. |coverage| image:: https://codecov.io/gh/simonsobs/socs/graph/badge.svg?token=07SF75W0AZ - :target: https://codecov.io/gh/simonsobs/socs +.. |coverage| image:: https://coveralls.io/repos/github/simonsobs/socs/badge.svg + :target: https://coveralls.io/github/simonsobs/socs .. |docker| image:: https://img.shields.io/badge/dockerhub-latest-blue :target: https://hub.docker.com/r/simonsobs/socs