From 6e63836bd5d05c7c0d3c99b04e704cd7cecb480c Mon Sep 17 00:00:00 2001 From: Dylan Pulver Date: Tue, 25 Aug 2026 15:30:46 +0300 Subject: [PATCH] ci(fix): do not smoke test docs examples in lowest-deps env The lowest-deps job installs only tox, so `dandi` is importable only inside the tox-managed venv and the docs smoke test fails with ModuleNotFoundError. --- .github/workflows/run-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 87361445d..d6cada2bb 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -154,7 +154,9 @@ jobs: python -m pytest -s -v -m obolibrary dandi - name: Smoke test example code in docs - if: matrix.mode != 'dandi-api' && github.event_name == 'schedule' + # Skipped in lowest-deps mode: that mode installs no dependencies into + # the job interpreter, so `dandi` is only importable inside the tox env. + if: matrix.mode != 'dandi-api' && matrix.mode != 'lowest-deps' && github.event_name == 'schedule' run: | set -ex cd docs/source/examples