Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
feat!: Update python, open controls, and visualizer dependences #21
Browse files Browse the repository at this point in the history
  • Loading branch information
abenseny authored Nov 26, 2021
2 parents 72f2e41 + 8712f30 commit 5bcca7e
Show file tree
Hide file tree
Showing 10 changed files with 1,653 additions and 1,052 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
source <(curl -sL http://ci.q-ctrl.com)
./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
./ci docker run qctrl/python-build:3.7 /scripts/housekeeping.sh
./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
./ci docker run qctrl/ci-images:python-3.7-ci /scripts/housekeeping.sh
linting:
runs-on: ubuntu-latest
Expand All @@ -29,32 +29,32 @@ jobs:
run: |
source <(curl -sL http://ci.q-ctrl.com)
./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
./ci docker run qctrl/python-build:3.7 /scripts/install-python-dependencies.sh
./ci docker run qctrl/ci-images:python-3.7-ci /scripts/install-python-dependencies.sh
- name: Run Pylint
run: |
./ci docker run qctrl/python-build:3.7 poetry run pylint_runner || true
./ci docker run qctrl/ci-images:python-3.7-ci poetry run pylint_runner || true
- name: Run Pylama
run: |
./ci docker run qctrl/python-build:3.7 poetry run pylama || true
./ci docker run qctrl/ci-images:python-3.7-ci poetry run pylama || true
- name: Run Markdownlint
run: |
./ci docker run qctrl/python-build:3.7 mdl -- -ig . || true
./ci docker run qctrl/ci-images:python-3.7-ci mdl -- -ig . || true
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8]
python: [3.7, 3.8]
steps:
- uses: actions/checkout@v1
- name: Install Python dependencies
run: |
source <(curl -sL http://ci.q-ctrl.com)
./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
./ci docker run qctrl/python-build:${{ matrix.python }} /scripts/install-python-dependencies.sh
./ci docker run qctrl/ci-images:python-${{ matrix.python }}-ci /scripts/install-python-dependencies.sh
- name: Run Pytest
run: |
./ci docker run qctrl/python-build:${{ matrix.python }} /scripts/pytest.sh
./ci docker run qctrl/ci-images:python-${{ matrix.python }}-ci /scripts/pytest.sh
publish_internally:
runs-on: ubuntu-latest
Expand All @@ -66,4 +66,4 @@ jobs:
run: |
source <(curl -sL http://ci.q-ctrl.com)
./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
./ci docker run qctrl/python-build:3.7 /scripts/publish-dev-version.sh
./ci docker run qctrl/ci-images:python-3.7-ci /scripts/publish-dev-version.sh
6 changes: 3 additions & 3 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
run: |
source <(curl -sL http://ci.q-ctrl.com)
./ci vault login -r ${{ secrets.VAULT_ROLE_ID }} -s ${{ secrets.VAULT_SECRET_ID }}
./ci docker run qctrl/python-build:3.7 /scripts/housekeeping.sh
./ci docker run qctrl/ci-images:python-3.7-ci /scripts/housekeeping.sh
- name: Publish publicly
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
source <(curl -sL http://ci.q-ctrl.com)
./ci docker run qctrl/python-build:3.7 /scripts/publish-release-publicly.sh
./ci docker run qctrl/ci-images:python-3.7-ci /scripts/publish-release-publicly.sh
- name: Publish internally
run: |
./ci docker run qctrl/python-build:3.7 /scripts/publish-release-internally.sh
./ci docker run qctrl/ci-images:python-3.7-ci /scripts/publish-release-internally.sh
90 changes: 46 additions & 44 deletions examples/export-a-dynamical-decoupling-sequence-to-cirq.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 5bcca7e

Please sign in to comment.