Update qiskit version badge #592
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: Docker notebook tests | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 45 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build the containers | |
run: docker compose -f docker-compose-dev.yaml build | |
- name: Run the jupyter profile | |
run: docker compose -f docker-compose-dev.yaml up -d | |
- name: Give containers time to initialize | |
shell: bash | |
run: sleep 90 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: install dependencies | |
shell: bash | |
run: pip install client/ | |
- name: Run basic tests | |
shell: bash | |
run: | | |
cd tests/basic | |
for f in *.py; do echo "$f" && python "$f"; done | |
cd - | |
- name: Run experimental tests | |
shell: bash | |
run: | | |
cd tests/experimental | |
for f in *.py; do echo "$f" && python "$f"; done | |
cd - | |
- name: Dump logs on failure | |
if: ${{ failure() }} | |
run: | | |
docker compose logs gateway | |
docker compose logs jupyter |