diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 61c4fbf..597128e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -64,6 +64,6 @@ steps: - script: | cd docs && make doctest && cd .. - pytest -v --cov . --cov-report xml:coverage.xml + poetry run pytest -v --cov . --cov-report xml:coverage.xml ./cc-test-reporter after-build --exit-code $? displayName: 'Run tests' diff --git a/docs/Makefile b/docs/Makefile index ba501f6..02e0548 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -3,7 +3,7 @@ # You can set these variables from the command line. SPHINXOPTS = -SPHINXBUILD = sphinx-build +SPHINXBUILD = poetry run sphinx-build SOURCEDIR = source BUILDDIR = build