Skip to content

more work on actions #22

more work on actions

more work on actions #22

Workflow file for this run

name: Test ZCU111
on:
workflow_dispatch:
pull_request:
permissions:
contents: write
jobs:
build:
runs-on: [zcu111_test]
steps:
- name: Clean repo
run: |
ls -ltra
pwd
sudo git clean -ffdx
sudo git reset --hard HEAD
- uses: actions/checkout@v4
- name: Install package
run: |
sudo -A -E -H python -m pip install --upgrade pip
sudo -A -E -H python -m pip install -e .
- name: Test notebooks
run: |
sudo -A -E python -m pytest --nbmake --overwrite ./qick_demos/00_Send_receive_pulse.ipynb
# sudo -E python -m pytest --nbmake ./qick_demos/01_Phase_coherent_readout.ipynb
# sudo -E python -m pytest --nbmake ./qick_demos/02_Sweeping_variables.ipynb
# sudo -E python -m pytest --nbmake ./qick_demos/03_Conditional_logic.ipynb
# sudo -E python -m pytest --nbmake ./qick_demos/04_Reading_Math_Writing.ipynb
# sudo -E python -m pytest --nbmake ./qick_demos/05_PhaseCoherence_QickProgram.ipynb
# sudo -E python -m pytest --nbmake ./qick_demos/06_qubit_demos.ipynb
# sudo -E python -m pytest --nbmake ./qick_demos/07_Sweep_ND_variables.ipynb
# sudo -E python -m pytest --nbmake ./qick_demos/08_Special_buffers.ipynb
- name: Cleanup pytest cache
if: always()
run: |
sudo -A rm -d -r -f ./.pytest_cache
sudo -A rm -d -r -f ./qick_lib/qick.egg-info
sudo -A rm -d -r -f ./qick_lib/qick/__pycache__
sudo -A rm -d -r -f ./qick_lib/qick/drivers/__pycache__