From e018b5f290039e050d2dc66975f2a36c43e3eca2 Mon Sep 17 00:00:00 2001 From: Zebedee Nicholls Date: Fri, 12 Apr 2024 07:46:28 +0200 Subject: [PATCH 1/2] Switch to updated codecov action --- .github/workflows/ci.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ba88b4e..d20f5cc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -65,8 +65,10 @@ jobs: run: | poetry run pytest -r a -v src tests --doctest-modules --cov=src --cov-report=term-missing --cov-report=xml poetry run coverage report - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + - name: Upload coverage reports to Codecov with GitHub Action + uses: codecov/codecov-action@v4.2.0 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} imports-without-extras: strategy: From e31a5e88ca5f9ffe553b920d1b4a812db266798c Mon Sep 17 00:00:00 2001 From: Zebedee Nicholls Date: Fri, 12 Apr 2024 07:50:58 +0200 Subject: [PATCH 2/2] CHANGELOG --- changelog/6.trivial.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/6.trivial.md diff --git a/changelog/6.trivial.md b/changelog/6.trivial.md new file mode 100644 index 0000000..83032f5 --- /dev/null +++ b/changelog/6.trivial.md @@ -0,0 +1 @@ +Updated CI to use new code coverage uploading action