From b0511f6a38d1a8c2f6d12cd831ad332bfa207371 Mon Sep 17 00:00:00 2001 From: pyiron <39344594+pyiron-runner@users.noreply.github.com> Date: Sun, 30 Apr 2023 12:18:59 -0700 Subject: [PATCH 1/3] Add coverage --- .coveralls.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .coveralls.yml diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 000000000..7a56699e7 --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1 @@ +repo_token: RveV3eluajy2H7DcSypIy432u2T7rsPus From 7e10c2b384f4e522d8406201ab49d173facb308c Mon Sep 17 00:00:00 2001 From: pyiron <39344594+pyiron-runner@users.noreply.github.com> Date: Sun, 30 Apr 2023 12:27:46 -0700 Subject: [PATCH 2/3] Push to coverage --- .github/workflows/unittests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index ce23471ce..3430deab4 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -72,3 +72,11 @@ jobs: shell: bash -l {0} timeout-minutes: 30 run: coverage run --omit structuretoolkit/_version.py -m unittest discover tests + - name: Coverage + if: matrix.label == 'linux-64-py-3-10' + continue-on-error: True + shell: bash -l {0} + run: | + coverage combine + coveralls + coverage xml From fb71afa69e42f10cb6ba87b79218e53afc367d46 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Sun, 30 Apr 2023 13:35:12 -0600 Subject: [PATCH 3/3] Update unittests.yml --- .github/workflows/unittests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 3430deab4..085e17db1 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -77,6 +77,5 @@ jobs: continue-on-error: True shell: bash -l {0} run: | - coverage combine coveralls coverage xml