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

feat!: Update python, open controls, and visualizer dependences #23

Merged
merged 9 commits into from
Nov 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
361 changes: 215 additions & 146 deletions examples/export-a-dynamical-decoupling-sequence-to-qiskit.ipynb

Large diffs are not rendered by default.

Loading