From 502d3d7662f1a713c88e3e927e3a71fa1960ae6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Jan=C3=9Fen?= Date: Sun, 18 Feb 2024 21:11:39 +0100 Subject: [PATCH 1/6] Fix coverage --- .coveragerc | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index b3f4c4f6..00000000 --- a/.coveragerc +++ /dev/null @@ -1,5 +0,0 @@ -# .coveragerc to control coverage.py -[run] -source = pympipool -omit = pympipool/_version.py -concurrency = multiprocessing From f9fe659bfebfd9653a35ccb2637360535620de6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Jan=C3=9Fen?= Date: Sun, 18 Feb 2024 21:14:26 +0100 Subject: [PATCH 2/6] remove combine coverage --- .github/workflows/unittest-flux.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/unittest-flux.yml b/.github/workflows/unittest-flux.yml index fc94b3a3..666cdf56 100644 --- a/.github/workflows/unittest-flux.yml +++ b/.github/workflows/unittest-flux.yml @@ -57,7 +57,6 @@ jobs: run: > flux start coverage run --omit pympipool/_version.py -m unittest tests/test_flux.py; - coverage combine env: OMPI_MCA_plm: 'isolated' OMPI_MCA_rmaps_base_oversubscribe: 'yes' From fc9809a6f6309a04a386e86dcdc4c3a51df7f069 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Sun, 18 Feb 2024 21:26:25 +0100 Subject: [PATCH 3/6] Update unittest-flux.yml --- .github/workflows/unittest-flux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unittest-flux.yml b/.github/workflows/unittest-flux.yml index 666cdf56..8fae511b 100644 --- a/.github/workflows/unittest-flux.yml +++ b/.github/workflows/unittest-flux.yml @@ -46,7 +46,7 @@ jobs: pip install versioneer[toml]==0.29 pip install . --no-deps --no-build-isolation cd tests - coverage run --omit pympipool/_version.py -m unittest discover . + coverage run --omit="pympipool/_version.py,tests/*" -m unittest discover . env: OMPI_MCA_plm: 'isolated' OMPI_MCA_rmaps_base_oversubscribe: 'yes' From c7e8fbdae7e71515d713f28caea7ad471fc78578 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Sun, 18 Feb 2024 21:46:55 +0100 Subject: [PATCH 4/6] Update unittest-flux.yml --- .github/workflows/unittest-flux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unittest-flux.yml b/.github/workflows/unittest-flux.yml index 8fae511b..ce386307 100644 --- a/.github/workflows/unittest-flux.yml +++ b/.github/workflows/unittest-flux.yml @@ -56,7 +56,7 @@ jobs: timeout-minutes: 5 run: > flux start - coverage run --omit pympipool/_version.py -m unittest tests/test_flux.py; + coverage run --omit="pympipool/_version.py,tests/*" -m unittest tests/test_flux.py; env: OMPI_MCA_plm: 'isolated' OMPI_MCA_rmaps_base_oversubscribe: 'yes' From 02f509164542ec15f34dba471f8345e2d4e03eae Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Sun, 18 Feb 2024 22:05:08 +0100 Subject: [PATCH 5/6] Update unittest-flux.yml --- .github/workflows/unittest-flux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unittest-flux.yml b/.github/workflows/unittest-flux.yml index ce386307..42f7fe9a 100644 --- a/.github/workflows/unittest-flux.yml +++ b/.github/workflows/unittest-flux.yml @@ -56,7 +56,7 @@ jobs: timeout-minutes: 5 run: > flux start - coverage run --omit="pympipool/_version.py,tests/*" -m unittest tests/test_flux.py; + coverage run --omit="pympipool/_version.py,test_*" -m unittest tests/test_flux.py; env: OMPI_MCA_plm: 'isolated' OMPI_MCA_rmaps_base_oversubscribe: 'yes' From 07a3ec11d3adb3b70f89d0aef9c3b19d12b4dd46 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Sun, 18 Feb 2024 22:14:19 +0100 Subject: [PATCH 6/6] Update unittest-flux.yml --- .github/workflows/unittest-flux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unittest-flux.yml b/.github/workflows/unittest-flux.yml index 42f7fe9a..9f736236 100644 --- a/.github/workflows/unittest-flux.yml +++ b/.github/workflows/unittest-flux.yml @@ -46,7 +46,7 @@ jobs: pip install versioneer[toml]==0.29 pip install . --no-deps --no-build-isolation cd tests - coverage run --omit="pympipool/_version.py,tests/*" -m unittest discover . + coverage run --omit="pympipool/_version.py,test_*" -m unittest discover . env: OMPI_MCA_plm: 'isolated' OMPI_MCA_rmaps_base_oversubscribe: 'yes' @@ -56,7 +56,7 @@ jobs: timeout-minutes: 5 run: > flux start - coverage run --omit="pympipool/_version.py,test_*" -m unittest tests/test_flux.py; + coverage run --omit="pympipool/_version.py,tests/*" -m unittest tests/test_flux.py; env: OMPI_MCA_plm: 'isolated' OMPI_MCA_rmaps_base_oversubscribe: 'yes'