From 60430e42cf4dab5e19c2e25aa1c562b25fdcda41 Mon Sep 17 00:00:00 2001 From: Geoff Boeing Date: Thu, 30 Nov 2023 07:43:10 -0800 Subject: [PATCH] put build in docs dir --- .github/workflows/test-minimal.yml | 2 +- tests/lint_test.sh | 2 +- tests/packaging.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-minimal.yml b/.github/workflows/test-minimal.yml index 9e5a74ade..34b05c893 100644 --- a/.github/workflows/test-minimal.yml +++ b/.github/workflows/test-minimal.yml @@ -47,7 +47,7 @@ jobs: - name: Test docs run: | make -C ./docs html - python -m sphinx -b linkcheck docs/source build/linkcheck + python -m sphinx -b linkcheck ./docs/source ./docs/build/linkcheck - name: Test code run: pytest --cov=./osmnx --cov-report=term-missing --verbose diff --git a/tests/lint_test.sh b/tests/lint_test.sh index d0bf841a8..9302e9ef8 100644 --- a/tests/lint_test.sh +++ b/tests/lint_test.sh @@ -17,7 +17,7 @@ twine check --strict ./dist/* # build the docs make -C ./docs html -python -m sphinx -b linkcheck docs/source docs/build/linkcheck +python -m sphinx -b linkcheck ./docs/source ./docs/build/linkcheck # run the tests and report the test coverage pytest --cov=./osmnx --cov-report=term-missing --verbose diff --git a/tests/packaging.sh b/tests/packaging.sh index acea5208b..b5624d637 100644 --- a/tests/packaging.sh +++ b/tests/packaging.sh @@ -18,7 +18,7 @@ mamba update conda-smithy --yes --no-banner # test the docs build and validate that all their links are live rm -rf ./docs/build make -C ./docs html -python -m sphinx -b linkcheck docs/source build/linkcheck +python -m sphinx -b linkcheck ./docs/source ./docs/build/linkcheck rm -rf ./docs/build # get the current package version number