Skip to content

add basic CI test to run lumi testbenches #2

add basic CI test to run lumi testbenches

add basic CI test to run lumi testbenches #2

Workflow file for this run

name: Testbench CI
on:
push:
# Runs on all PRs
pull_request:
# Manual Dispatch
workflow_dispatch:
jobs:
testbench:
strategy:
fail-fast: false
matrix:
testbench: [lumi/testbench/test_lumi.py, lumi/testbench/test_lumi_rnd.py]
timeout-minutes: 30
continue-on-error: true
runs-on: ubuntu-latest
container:
image: ghcr.io/zeroasiccorp/sbtest:latest
steps:
- name: Check out UMI
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install requirements
run: |
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip --upgrade pip
python3 -m pip install switchboard-hw
- name: Run {{ matrix.testbench }}
run: |
source .venv/bin/activate
./{{ matrix.testbench }}