diff --git a/.azure/lint_docs_qpy-linux.yml b/.azure/lint_docs_qpy-linux.yml index 99d2b7dc41c9..b391c9aa8471 100644 --- a/.azure/lint_docs_qpy-linux.yml +++ b/.azure/lint_docs_qpy-linux.yml @@ -20,30 +20,6 @@ jobs: versionSpec: '${{ parameters.pythonVersion }}' displayName: 'Use Python ${{ parameters.pythonVersion }}' - - bash: tools/install_ubuntu_docs_dependencies.sh - displayName: 'Install docs dependencies' - - - bash: tox run -e docs,lint - displayName: 'Lint and docs' - - - bash: rm -rf docs/_build/html/{.doctrees,.buildinfo} - displayName: 'Clean up docs detritus' - - - task: ArchiveFiles@2 - inputs: - rootFolderOrFile: 'docs/_build/html' - archiveType: tar - archiveFile: '$(Build.ArtifactStagingDirectory)/html_docs.tar.gz' - verbose: true - - - task: PublishBuildArtifacts@1 - displayName: 'Upload docs artifact' - inputs: - pathtoPublish: '$(Build.ArtifactStagingDirectory)' - artifactName: 'html_docs' - Parallel: true - ParallelCount: 8 - - task: Cache@2 inputs: key: 'qpy | test/qpy_compat/test_qpy.py | "$(Build.BuildNumber)"' @@ -54,6 +30,8 @@ jobs: - bash: | set -e + python -m pip install tox + tox run -e docs --notest # Reuse the docs environment to avoid needing to rebuild another # version of Qiskit. source .tox/docs/bin/activate