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 fc8870e commit 5067157
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 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,7 @@ jobs:

- bash: |
set -e
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 5067157

Please sign in to comment.