From d8c4cbc42915dc4d62e0d904a0c5d719dc8f9474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Jan=C3=9Fen?= Date: Sun, 18 Feb 2024 21:31:49 +0100 Subject: [PATCH] Fix Coverage --- .coveragerc | 5 ----- .github/workflows/unittests.yml | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 12a3736b..00000000 --- a/.coveragerc +++ /dev/null @@ -1,5 +0,0 @@ -# .coveragerc to control coverage.py -[run] -source = atomistics -omit = atomistics/_version.py -concurrency = multiprocessing \ No newline at end of file diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 5510af5b..72a322d3 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -63,7 +63,7 @@ jobs: run: | pip install versioneer[toml]==0.29 pip install . --no-deps --no-build-isolation - coverage run --omit atomistics/_version.py -m unittest discover tests + coverage run --omit="atomistics/_version.py,tests/*" -m unittest discover tests coverage combine - name: Coveralls if: matrix.label == 'linux-64-py-3-11'