Update example parameters for arbitrary single-qubit gate in README (… #159
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: Qubit Simulator CI | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
pip install -U pip | |
pip install -r requirements.txt | |
pip install black coverage pytest | |
- name: Format code with Black | |
run: python3 -m black $(find . -name '*.py') | |
- name: Run tests with coverage | |
run: python3 -m coverage run -m pytest -vv | |
- name: Report coverage | |
run: python3 -m coverage report -m |