Skip to content

Commit

Permalink
Remove run-tox action
Browse files Browse the repository at this point in the history
  • Loading branch information
frankharkins committed Dec 13, 2023
1 parent caec53a commit 9b58ed6
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/notebook-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:
sudo apt-get update
sudo apt-get install texlive-pictures texlive-latex-extra poppler-utils
- name: Install Qiskit IBM Runtime (to save account)
- name: Install Python packages
# This is to save our account in the next step. Note that the
# package will be re-installed during the "Run tox" step.
run: pip install qiskit-ibm-runtime
run: pip install qiskit-ibm-runtime tox

- name: Save IBM Quantum account
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
Expand All @@ -63,9 +63,11 @@ jobs:
set_as_default=True
)
- name: Run tox
uses: lsst-sqre/run-tox@97818256d9fa3c72d0c12f31660718adb495a1cb
- name: Cache tox environment
uses: actions/cache@v3
with:
python-version: "3.11"
tox-envs: "py311"
tox-posargs: ${{ steps.all-changed-files.outputs.all_changed_files }}
path: ".tox"
key: ${{ hashFiles('scripts/nb-tester/requirements.txt') }}

- name: Run tox
run: tox -- ${{ steps.all-changed-files.outputs.all_changed_files }}

0 comments on commit 9b58ed6

Please sign in to comment.