From b21df3bac2ef8bb233b911fdc6402435824d1383 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Mon, 19 Feb 2024 09:18:47 +0100 Subject: [PATCH] Use accumulate option https://coverage.readthedocs.io/en/latest/cmd.html#data-file --- .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 3c7ba867..fdf77c0b 100644 --- a/.github/workflows/unittest-flux.yml +++ b/.github/workflows/unittest-flux.yml @@ -45,7 +45,7 @@ jobs: mamba install -y flux-core=0.58.0 coverage pip install versioneer[toml]==0.29 pip install . --no-deps --no-build-isolation - coverage run --omit="pympipool/_version.py,tests/*" -m unittest discover tests + coverage run -a --omit="pympipool/_version.py,tests/*" -m unittest discover tests env: OMPI_MCA_plm: 'isolated' OMPI_MCA_rmaps_base_oversubscribe: 'yes' @@ -55,7 +55,7 @@ jobs: timeout-minutes: 5 run: > flux start - coverage run --omit="pympipool/_version.py,tests/*" -m unittest tests/test_flux.py; + coverage run -a --omit="pympipool/_version.py,tests/*" -m unittest tests/test_flux.py; env: OMPI_MCA_plm: 'isolated' OMPI_MCA_rmaps_base_oversubscribe: 'yes'