From 594ad5465823df7b99c025eee1e1ce6fd6cca8f5 Mon Sep 17 00:00:00 2001 From: Monroe Weber-Shirk Date: Fri, 16 Aug 2024 12:29:02 -0400 Subject: [PATCH 1/4] Update README.md fix link to developer guide --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 62b82148..2f1c52f7 100644 --- a/README.md +++ b/README.md @@ -91,4 +91,4 @@ The package is still undergoing rapid development. As it becomes more stable, a ## Contributing Bug reports, features requests, documentation updates, and any other enhancements are welcome! To suggest a change, [make an issue](https://github.com/AguaClara/aguaclara/issues/new/choose) in the [`aguaclara` Github repository](https://github.com/AguaClara/aguaclara>). -To contribute to the package as a developer, refer to the [Developer Guide](https://aguaclara.github.io/aguaclara/guide-dev/guide-dev.html). +To contribute to the package as a developer, refer to the [Developer Guide](https://aguaclara.github.io/aguaclara/guide-dev.html). From cd015c2ef7c7dfea4fdfc42c1c684edcfd97739f Mon Sep 17 00:00:00 2001 From: Fletcher Chapin Date: Mon, 19 Aug 2024 16:40:04 -0700 Subject: [PATCH 2/4] Trying to fix throttling by updating codecov token --- .github/workflows/build.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4160125f..62a33450 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,11 +33,7 @@ jobs: - name: Run pytests and generate coverage report run: | pipenv run pytest --cov=./ --cov-report=xml - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - fail_ci_if_error: true + codecov -t ${{ secrets.CODECOV_TOKEN }} test-docs: runs-on: ubuntu-latest From ca9e77605da52cf54aa48b9aab78f11496e89a6d Mon Sep 17 00:00:00 2001 From: Fletcher Chapin Date: Mon, 19 Aug 2024 16:45:22 -0700 Subject: [PATCH 3/4] Adding codecov to requirements --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index fb9f079c..631be76e 100644 --- a/setup.py +++ b/setup.py @@ -33,12 +33,12 @@ 'pandas', 'scipy', 'onshape_client', - 'numpy==1.22.1' + 'numpy==1.22.1', ], python_requires='>=3.8', setup_requires=["pytest-runner"], - tests_require=["pytest==7.2.1"], + tests_require=["pytest==7.2.1", "codecov>=2.1.4"], include_package_data=True, test_suite="tests", zip_safe=False From 06f6b1fca28638b21513b362ca1785d4c7434fa2 Mon Sep 17 00:00:00 2001 From: Fletcher Chapin Date: Mon, 19 Aug 2024 16:51:57 -0700 Subject: [PATCH 4/4] Trying to fix Codecov deployment --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62a33450..d5b3f823 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: - name: Run pytests and generate coverage report run: | pipenv run pytest --cov=./ --cov-report=xml - codecov -t ${{ secrets.CODECOV_TOKEN }} + pipenv run codecov -t ${{ secrets.CODECOV_TOKEN }} test-docs: runs-on: ubuntu-latest