Repository navigation
switch deploy.sh to pip-sync for faster incremental dep updates #18
This file contains hidden or 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: build and unit tests | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: setup virtual env | |
| run: python3 -m venv .venv | |
| - name: setup packages | |
| run: | | |
| . .venv/bin/activate | |
| python -m pip install --upgrade pip | |
| python -m pip install -r requirements.txt | |
| - name: algorithm tests | |
| run: | | |
| . .venv/bin/activate | |
| python bernstein_vazirani_quantum.py | |
| python deutsch_jozsa_quantum.py | |
| python deutsch_quantum.py | |
| python sat_quantum.py | |
| python shors_quantum.py |