From bf97608839bd21918dd3d56800d886cf0b59dde4 Mon Sep 17 00:00:00 2001 From: danielfromearth Date: Wed, 10 Jan 2024 15:55:33 -0500 Subject: [PATCH 1/3] add codecov step to tests workflow --- .github/workflows/reusable_run_tests.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/reusable_run_tests.yml b/.github/workflows/reusable_run_tests.yml index 17f702b..fe2c4cb 100644 --- a/.github/workflows/reusable_run_tests.yml +++ b/.github/workflows/reusable_run_tests.yml @@ -41,16 +41,7 @@ jobs: run: | poetry run pytest --cov=ncompare --cov-report=xml:build/reports/coverage${{ matrix.python-version }}.xml --cov-report=html:build/reports/coverage${{ matrix.python-version }}.html tests/ - - name: Archive code coverage report (xml) - if: ${{ always() }} - uses: actions/upload-artifact@v4 - with: - name: code coverage report (xml) - path: build/reports/coverage.xml - - - name: Archive code coverage report (HTML) - if: ${{ always() }} - uses: actions/upload-artifact@v4 - with: - name: code coverage report (HTML) - path: build/reports/coverage.html + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 52a13e1e5e83a30a036f47492737db0577ce5eb3 Mon Sep 17 00:00:00 2001 From: danielfromearth Date: Wed, 10 Jan 2024 16:02:42 -0500 Subject: [PATCH 2/3] update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a89d8b8..ca28613 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - [pull-request/99](https://github.com/nasa/ncompare/pull/99): Improve readme in a few ways (e.g., license, badges) - [pull-request/106](https://github.com/nasa/ncompare/pull/106): Use ReadTheDocs instead of GitHub Pages for documentation +- [pull-request/113](https://github.com/nasa/ncompare/pull/113): Add codecov step to tests workflow ### Deprecated ### Removed - fixed bug related to extra argument from command line From e0ad05d47f7f01d4b0fb889b94968a5fe740077c Mon Sep 17 00:00:00 2001 From: danielfromearth Date: Wed, 10 Jan 2024 16:03:50 -0500 Subject: [PATCH 3/3] fix incorrect project-slug --- .github/workflows/pr-rtd-link.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-rtd-link.yml b/.github/workflows/pr-rtd-link.yml index b4e9efc..d91ffdd 100644 --- a/.github/workflows/pr-rtd-link.yml +++ b/.github/workflows/pr-rtd-link.yml @@ -18,4 +18,4 @@ jobs: steps: - uses: "readthedocs/actions/preview@v1" with: - project-slug: "earthaccess" + project-slug: "ncompare"