Add manual uninstall for Neko #398
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Qiskit Neko Integration Tests | |
on: | |
push: | |
pull_request: | |
branches: ['main', 'stable/*'] | |
concurrency: | |
group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }} | |
# Only cancel in PR mode. In push mode, don't cancel so we don't see spurious test "failures". | |
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
jobs: | |
neko: | |
if: github.repository_owner == 'Qiskit' | |
name: Qiskit Neko Integration Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Qiskit/qiskit-neko@main | |
with: | |
test_selection: terra | |
# We have to forcibly uninstall any old version of qiskit or qiskit-terra during the | |
# changeover, because it's not possible to safely upgrade an existing installation to 1.0. | |
repo_install_command: "pip uninstall qiskit qiskit-terra && pip install -c constraints.txt ." |