Skip to content

Commit

Permalink
DNM: skip lint to test QPY faster
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelishman committed Sep 23, 2024
1 parent 2fba402 commit ca25cb1
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions .azure/lint_docs_qpy-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"'
Expand All @@ -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
Expand Down

0 comments on commit ca25cb1

Please sign in to comment.