From 7eb73acad2264b5b5c4697159a3acaccd1668865 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Sat, 25 May 2024 17:49:38 +0100 Subject: [PATCH 1/2] Update codecov action --- .github/workflows/ci-code.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-code.yml b/.github/workflows/ci-code.yml index 9ff7b8106b..bec312c60f 100644 --- a/.github/workflows/ci-code.yml +++ b/.github/workflows/ci-code.yml @@ -103,8 +103,9 @@ jobs: - name: Upload coverage report if: matrix.python-version == 3.9 && github.repository == 'aiidateam/aiida-core' - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} name: aiida-pytests-py3.9 file: ./coverage.xml fail_ci_if_error: false # don't fail job, if coverage upload fails From 580eb8d71650ef04d05bb497b492b68836bed88b Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Sun, 26 May 2024 16:12:33 +0100 Subject: [PATCH 2/2] update codecov.yml --- codecov.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codecov.yml b/codecov.yml index 30e7498a7c..36739aca20 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,8 +1,8 @@ codecov: notify: - after_n_builds: 2 - wait_for_ci: yes - require_ci_to_pass: yes + after_n_builds: 1 + wait_for_ci: no + require_ci_to_pass: no coverage: precision: 2 # default, here for transparency