Add sDAQC support for alternating layer ansatz #2101
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: {} | |
concurrency: | |
group: examples-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
test_qadence_ubuntu: | |
name: Examples (ubuntu) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install graphviz | |
run: sudo apt-get install -y graphviz | |
- name: Select Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install Hatch | |
run: | | |
pip install hatch | |
- name: Run example tests | |
run: | | |
hatch -v run test-examples |