From 478e142d6035a1c84e54d0721d1d658628750a8a Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Wed, 7 Feb 2024 08:37:07 -0800 Subject: [PATCH 1/9] ci: Update codecov-action to v4. --- .github/workflows/test-code.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index 8ce1bccb..bcfe3afd 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -56,7 +56,7 @@ jobs: - name: Install tox run: | python -m pip install --upgrade pip - python -m pip install --upgrade tox + python -m pip install --upgrade tox coverage - name: Test run: tox -ve tests - uses: actions/upload-artifact@v4 @@ -67,13 +67,15 @@ jobs: .results_*/** .coverage* - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 if: ${{ !cancelled() }} with: token: ${{ secrets.CODECOV_TOKEN }} - files: ./.coverage_tests.xml + file: .coverage_tests.xml + disable_search: true name: codecov-${{ matrix.os_name }} fail_ci_if_error: true + verbose: true # Check that all jobs passed check-tests-passed: if: ${{ !cancelled() }} From 5d2ce685cd817f74f069bf79facba6ecea3d56cb Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Wed, 7 Feb 2024 08:42:42 -0800 Subject: [PATCH 2/9] ci: Test changing settings to enable codecov-action v4. --- .github/workflows/test-code.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index bcfe3afd..c5ec2330 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -71,8 +71,7 @@ jobs: if: ${{ !cancelled() }} with: token: ${{ secrets.CODECOV_TOKEN }} - file: .coverage_tests.xml - disable_search: true + plugin: pycoverage name: codecov-${{ matrix.os_name }} fail_ci_if_error: true verbose: true From d28c1d9a0d47c6926bb18c4c58a7553004fe4614 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Wed, 7 Feb 2024 08:49:06 -0800 Subject: [PATCH 3/9] ci: Test changing settings to enable codecov-action v4. --- .github/workflows/test-code.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index c5ec2330..d09da48d 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -72,6 +72,7 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} plugin: pycoverage + directory: . name: codecov-${{ matrix.os_name }} fail_ci_if_error: true verbose: true From 8db7457c1ca6c7babfa62c0cdccf1598665e509b Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Wed, 7 Feb 2024 08:53:42 -0800 Subject: [PATCH 4/9] ci: Test changing settings to enable codecov-action v4. --- .github/workflows/test-code.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index d09da48d..46a2b455 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -72,7 +72,8 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} plugin: pycoverage - directory: . + directory: ./coverage/reports/ + files: ./.coverage_tests.xml name: codecov-${{ matrix.os_name }} fail_ci_if_error: true verbose: true From 4a23cd9818a0b5b49934270b67e055b0e9ae3bde Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Wed, 7 Feb 2024 09:01:18 -0800 Subject: [PATCH 5/9] ci: Test changing settings to enable codecov-action v4. --- .github/workflows/test-code.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index 46a2b455..ece5f694 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -71,8 +71,7 @@ jobs: if: ${{ !cancelled() }} with: token: ${{ secrets.CODECOV_TOKEN }} - plugin: pycoverage - directory: ./coverage/reports/ + plugin: none files: ./.coverage_tests.xml name: codecov-${{ matrix.os_name }} fail_ci_if_error: true From 157745934c002aa79aa28c9c71d934f17d0bba99 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Wed, 7 Feb 2024 09:04:21 -0800 Subject: [PATCH 6/9] ci: Test changing settings to enable codecov-action v4. --- .github/workflows/test-code.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index ece5f694..1b7bf540 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -71,7 +71,6 @@ jobs: if: ${{ !cancelled() }} with: token: ${{ secrets.CODECOV_TOKEN }} - plugin: none files: ./.coverage_tests.xml name: codecov-${{ matrix.os_name }} fail_ci_if_error: true From a3bc1b35a4a231a8a2a725358f04f46684a30c06 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Wed, 7 Feb 2024 09:11:25 -0800 Subject: [PATCH 7/9] ci: Test changing settings to enable codecov-action v4. --- .github/workflows/test-code.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index 1b7bf540..7c8e3d29 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -66,6 +66,10 @@ jobs: path: | .results_*/** .coverage* + - name: Print cwd contents + run: | + ls -la + ls *coverage* - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 if: ${{ !cancelled() }} From 659b7ccd82c90612a7848818ac3374494ac38e9f Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Wed, 7 Feb 2024 09:14:21 -0800 Subject: [PATCH 8/9] ci: Test changing settings to enable codecov-action v4. --- .github/workflows/test-code.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index 7c8e3d29..ae1bf435 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -69,7 +69,6 @@ jobs: - name: Print cwd contents run: | ls -la - ls *coverage* - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 if: ${{ !cancelled() }} From 1b6e0704c0d85f8a77d08b755f25a7a174d01578 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Tue, 26 Mar 2024 09:29:38 -0700 Subject: [PATCH 9/9] ci: Remove directory contents printout from workflow. --- .github/workflows/test-code.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index ae1bf435..1b7bf540 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -66,9 +66,6 @@ jobs: path: | .results_*/** .coverage* - - name: Print cwd contents - run: | - ls -la - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 if: ${{ !cancelled() }}