Skip to content

Merge remote-tracking branch 'origin/main' into md/final_doc_review #148

Merge remote-tracking branch 'origin/main' into md/final_doc_review

Merge remote-tracking branch 'origin/main' into md/final_doc_review #148

name: Run Qadence example and notebook tests.
on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- examples
- notebooks
schedule:
# 03:00 every Saturday morning
- cron: '0 3 * * 6'
workflow_dispatch: {}
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test_qadence_ubuntu:
name: Test Qadence (ubuntu)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Select Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Hatch
run: |
pip install hatch
- name: Run example tests
run: |
hatch -v run test-examples
- name: Run notebooks tests
run: |
hatch -v run test-notebooks