From 506a21c1759727a8d241ed8b6d108622843b4a6c Mon Sep 17 00:00:00 2001 From: Micael Oliveira Date: Thu, 9 May 2024 12:37:12 +1000 Subject: [PATCH 1/2] Fix typo and update codecov CI action. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 748358a..a8ba90d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,6 @@ jobs: run: | python -m pytest - name: Upload coverage reports to Codecov with GitHub Action - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4.2.0 env: - CODEOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 1117e8796647507064803b9e65924d4b4aea34f9 Mon Sep 17 00:00:00 2001 From: Micael Oliveira Date: Tue, 12 Mar 2024 10:57:12 +1100 Subject: [PATCH 2/2] By default, also create an html code coverage report. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c4d4334..592ef96 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ test = [ ] [tool.pytest.ini_options] -addopts = ["--cov=om3utils", "--cov-report=term", "--cov-report=xml"] +addopts = ["--cov=om3utils", "--cov-report=term", "--cov-report=html", "--cov-report=xml"] testpaths = ["tests"] [tool.coverage.run]