-
Notifications
You must be signed in to change notification settings - Fork 87
43 lines (39 loc) · 1.52 KB
/
test_zcu111.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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__