Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Prepare correct |0001> in the auxiliary register #95

Prepare correct |0001> in the auxiliary register

Prepare correct |0001> in the auxiliary register #95

Workflow file for this run

name: Test
on: [pull_request]
env:
# Disable Tensorflow information messages
TF_CPP_MIN_LOG_LEVEL: 3
jobs:
test-run:
name: Run tests
if: github.event.pull_request.user.login != 'gitlocalize-app[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Vale
run: sudo snap install --edge vale
- name: Install Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Set up Python environment
run: |
./install.sh
. .venv/bin/activate
echo $PATH >> $GITHUB_PATH
echo "IPYTHONDIR=$(pwd)/environment/ipython" >> $GITHUB_ENV
echo "QISKIT_SETTINGS=$(pwd)/environment/qiskit/settings.conf" >> $GITHUB_ENV
- name: Get changed notebooks
id: changed-notebooks
uses: tj-actions/[email protected]
with:
files: notebooks/**/*.ipynb
- name: Check notebook formatting
run: ./tests/run_formatting.sh
- name: Lint notebooks
run: ./tests/run_lint.sh
- name: Run changed notebooks
run: |
python ./tests/passes/nb_autorun.py ${{ steps.changed-notebooks.outputs.all_changed_files }} --fail-on-warning