From aa35fbad10a8af279fabf2cc8fceb9d14b6fc9d0 Mon Sep 17 00:00:00 2001 From: pearce8 Date: Thu, 9 May 2024 18:38:00 -0500 Subject: [PATCH] Revert "Adds code coverage through Codecov" --- .github/workflows/unit-tests.yaml | 17 +---------------- README.md | 1 - codecov.yml | 11 ----------- 3 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 codecov.yml diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index fd25158e..28c130e2 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -65,21 +65,6 @@ jobs: run: | pip install extrap - - name: Install coverage tools - run: | - pip install codecov - pip install pytest-cov - - name: Basic Test with pytest run: | - PYTHONPATH=. $(which pytest) --cov=./ --cov-report=xml - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 - with: - directory: ./coverage/reports/ - env_vars: OS,PYTHON - files: /home/runner/work/thicket/thicket/coverage.xml - flags: unittests - verbose: true - fail_ci_if_error: true + PYTHONPATH=. $(which pytest) diff --git a/README.md b/README.md index 33d90889..85dd241c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # thicket Thicket [![Build Status](https://github.com/llnl/thicket/actions/workflows/unit-tests.yaml/badge.svg)](https://github.com/llnl/thicket/actions) -[![codecov.io](https://codecov.io/github/LLNL/thicket/coverage.svg?branch=develop)](https://codecov.io/github/LLNL/thicket?branch=develop) [![Read the Docs](http://readthedocs.org/projects/thicket/badge/?version=latest)](http://thicket.readthedocs.io) [![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) diff --git a/codecov.yml b/codecov.yml deleted file mode 100644 index eccac231..00000000 --- a/codecov.yml +++ /dev/null @@ -1,11 +0,0 @@ -coverage: - round: down - range: "65...100" - -comment: - layout: "header, diff, changes, tree" - behavior: new - require_changes: false - require_base: false - require_head: true - after_n_builds: 4