Skip to content

Commit

Permalink
Republish
Browse files Browse the repository at this point in the history
  • Loading branch information
danielschoenberger committed Nov 7, 2024
1 parent 5f9e5fc commit df1b1b4
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file added .github/.DS_Store
Binary file not shown.
41 changes: 41 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Test run

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test_bindings:
name: Run script on example
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: "3.10"
- name: Install package
run: |
pip install -U pip setuptools wheel
pip install .
# Test the first script (run.py)
- name: Test run.py
run: |
python run.py --help
python run.py algorithms/qft_05.json
# Test the second script (run_heuristic.py)
- name: Test run_heuristic.py
run: |
python run_heuristic.py --help
python run_heuristic.py algorithms_heuristic/qft_12.json

0 comments on commit df1b1b4

Please sign in to comment.