From 83188e5d48f95e3ade6f88bff88fc66efe6d8c7e Mon Sep 17 00:00:00 2001 From: Amrit K Date: Fri, 27 Oct 2023 10:55:41 -0400 Subject: [PATCH] Fix workflow files --- .github/workflows/code_checks.yml | 2 +- .github/workflows/docs_build.yml | 2 +- .github/workflows/docs_deploy.yml | 2 +- .github/workflows/integration_tests.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code_checks.yml b/.github/workflows/code_checks.yml index 267469e..f6a0023 100644 --- a/.github/workflows/code_checks.yml +++ b/.github/workflows/code_checks.yml @@ -37,5 +37,5 @@ jobs: run: | poetry env use '3.10' source $(poetry env info --path)/bin/activate - poetry install --without docs + poetry install --with test pre-commit run --all-files diff --git a/.github/workflows/docs_build.yml b/.github/workflows/docs_build.yml index 4bd2567..5eefb41 100644 --- a/.github/workflows/docs_build.yml +++ b/.github/workflows/docs_build.yml @@ -31,7 +31,7 @@ jobs: python3 -m pip install --upgrade pip && python3 -m pip install poetry poetry env use '3.10' source $(poetry env info --path)/bin/activate - poetry install + poetry install --with docs,test # pandoc README.md -f markdown -t rst -s -o docs/source/intro.rst cd docs && rm -rf source/reference/api/_autosummary && make html cd .. && coverage run -m pytest -m "not integration_test" && coverage xml && coverage report -m diff --git a/.github/workflows/docs_deploy.yml b/.github/workflows/docs_deploy.yml index a8aaaaa..19c8dbb 100644 --- a/.github/workflows/docs_deploy.yml +++ b/.github/workflows/docs_deploy.yml @@ -33,7 +33,7 @@ jobs: - run: | poetry env use '3.10' source $(poetry env info --path)/bin/activate - poetry install + poetry install --with docs,test # pandoc README.md -f markdown -t rst -s -o docs/source/intro.rst cd docs && rm -rf source/reference/api/_autosummary && make html cd .. && coverage run -m pytest -m "not integration_test" && coverage xml && coverage report -m diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index e4b698a..835edf9 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -46,7 +46,7 @@ jobs: run: | poetry env use '3.10' source $(poetry env info --path)/bin/activate - poetry install --without docs + poetry install --with test coverage run -m pytest -m integration_test && coverage xml && coverage report -m - name: Upload coverage to Codecov uses: Wandalen/wretry.action@v1.0.36