From 6f598494447f088988235951d8f8638935f426f3 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 25 Oct 2023 10:52:07 -0400 Subject: [PATCH 01/10] Add lightning-latest-rc.yml --- .github/workflows/lightning-latest-rc.yml | 68 +++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 .github/workflows/lightning-latest-rc.yml diff --git a/.github/workflows/lightning-latest-rc.yml b/.github/workflows/lightning-latest-rc.yml new file mode 100644 index 0000000..6a0ae58 --- /dev/null +++ b/.github/workflows/lightning-latest-rc.yml @@ -0,0 +1,68 @@ +# Workflow template for testing plugins against PennyLane release candidate + +name: lightning-latest-rc +on: + push: + branches: + - master + pull_request: + schedule: + - cron: '0 0 * * *' + workflow_dispatch: + + +env: + PLUGIN_REPO: PennyLaneAI/pennylane-lightning + PLUGIN_BRANCH: master + PLUGIN_PACKAGE: pennylane_lightning + PENNYLANE_BRANCH: master + GCC_VERSION: 11 + + +jobs: + tests: + runs-on: ubuntu-22.04 + + strategy: + fail-fast: false + + steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.4.1 + with: + access_token: ${{ github.token }} + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "3.10" + + - name: Install buildtools & compilers + run: | + sudo apt-get update && sudo apt-get -y -q install cmake gcc-${{ env.GCC_VERSION }} g++-${{ env.GCC_VERSION }} ninja-build + + - name: Install requirements + run: | + pip install --upgrade pip + pip install --upgrade pybind11 + pip install pytest pytest-mock pytest-cov flaky + pip freeze + + - name: Install PennyLane and Plugin + run: | + pip install git+https://github.com/PennyLaneAI/pennylane.git@v0.32.0-rc0 \ + git+https://github.com/${{ env.PLUGIN_REPO }}.git@${{ env.PLUGIN_BRANCH }} + + - uses: actions/checkout@v2 + with: + repository: ${{ env.PLUGIN_REPO }} + path: plugin_repo + ref: ${{ env.PLUGIN_BRANCH }} + + - name: Run PennyLane device integration tests + run: | + pl-device-test --device lightning.qubit --shots=None --skip-ops + pl-device-test --device lightning.qubit --skip-ops --shots=20000 + + - name: Run plugin tests + run: python -m pytest plugin_repo/tests --tb=short From 22ee4e3fc69b7339c02703946213ac63ef52096a Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 25 Oct 2023 10:53:32 -0400 Subject: [PATCH 02/10] Comment triggers. --- .github/workflows/aqt-latest-latest.yml | 2 +- .github/workflows/aqt-latest-rc.yml | 2 +- .github/workflows/aqt-latest-stable.yml | 2 +- .github/workflows/aqt-stable-latest.yml | 2 +- .github/workflows/aqt-stable-stable.yml | 2 +- .github/workflows/braket-latest-latest.yml | 2 +- .github/workflows/braket-latest-rc.yml | 2 +- .github/workflows/braket-latest-stable.yml | 2 +- .github/workflows/braket-stable-latest.yml | 2 +- .github/workflows/braket-stable-stable.yml | 2 +- .github/workflows/cirq-latest-latest.yml | 2 +- .github/workflows/cirq-latest-rc.yml | 2 +- .github/workflows/cirq-latest-stable.yml | 2 +- .github/workflows/cirq-stable-latest.yml | 2 +- .github/workflows/cirq-stable-stable.yml | 2 +- .github/workflows/ensure_compiled.yml | 2 +- .github/workflows/honeywell-latest-latest.yml | 2 +- .github/workflows/honeywell-latest-rc.yml | 2 +- .github/workflows/honeywell-latest-stable.yml | 2 +- .github/workflows/honeywell-stable-latest.yml | 2 +- .github/workflows/honeywell-stable-stable.yml | 2 +- .github/workflows/ionq-latest-latest.yml | 2 +- .github/workflows/ionq-latest-rc.yml | 2 +- .github/workflows/ionq-latest-stable.yml | 2 +- .github/workflows/ionq-stable-latest.yml | 2 +- .github/workflows/ionq-stable-stable.yml | 2 +- .github/workflows/old-workflow | 2 +- .github/workflows/orquestra-latest-latest.yml | 2 +- .github/workflows/orquestra-latest-rc.yml | 2 +- .github/workflows/orquestra-latest-stable.yml | 2 +- .github/workflows/orquestra-stable-latest.yml | 2 +- .github/workflows/orquestra-stable-stable.yml | 2 +- .github/workflows/pq-latest-latest.yml | 2 +- .github/workflows/pq-latest-rc.yml | 2 +- .github/workflows/pq-latest-stable.yml | 2 +- .github/workflows/pq-stable-latest.yml | 2 +- .github/workflows/pq-stable-stable.yml | 2 +- .github/workflows/qiskit-latest-latest.yml | 2 +- .github/workflows/qiskit-latest-rc.yml | 2 +- .github/workflows/qiskit-latest-stable.yml | 2 +- .github/workflows/qiskit-stable-latest.yml | 2 +- .github/workflows/qiskit-stable-stable.yml | 2 +- .github/workflows/quantuminspire-latest-latest.yml | 2 +- .github/workflows/quantuminspire-latest-rc.yml | 2 +- .github/workflows/quantuminspire-latest-stable.yml | 2 +- .github/workflows/quantuminspire-stable-latest.yml | 2 +- .github/workflows/quantuminspire-stable-stable.yml | 2 +- .github/workflows/qulacs-latest-latest.yml | 2 +- .github/workflows/qulacs-latest-rc.yml | 2 +- .github/workflows/qulacs-latest-stable.yml | 2 +- .github/workflows/qulacs-stable-latest.yml | 2 +- .github/workflows/qulacs-stable-stable.yml | 2 +- .github/workflows/rigetti-latest-latest.yml | 2 +- .github/workflows/rigetti-latest-rc.yml | 2 +- .github/workflows/rigetti-latest-stable.yml | 2 +- .github/workflows/rigetti-stable-latest.yml | 2 +- .github/workflows/rigetti-stable-stable.yml | 2 +- 57 files changed, 57 insertions(+), 57 deletions(-) diff --git a/.github/workflows/aqt-latest-latest.yml b/.github/workflows/aqt-latest-latest.yml index 1a465e0..2981d2c 100644 --- a/.github/workflows/aqt-latest-latest.yml +++ b/.github/workflows/aqt-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/aqt-latest-rc.yml b/.github/workflows/aqt-latest-rc.yml index 69e179b..93fba9c 100644 --- a/.github/workflows/aqt-latest-rc.yml +++ b/.github/workflows/aqt-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/aqt-latest-stable.yml b/.github/workflows/aqt-latest-stable.yml index aced03b..5daa2e2 100644 --- a/.github/workflows/aqt-latest-stable.yml +++ b/.github/workflows/aqt-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/aqt-stable-latest.yml b/.github/workflows/aqt-stable-latest.yml index 248668a..04b9ae6 100644 --- a/.github/workflows/aqt-stable-latest.yml +++ b/.github/workflows/aqt-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/aqt-stable-stable.yml b/.github/workflows/aqt-stable-stable.yml index 6741b74..2a32842 100644 --- a/.github/workflows/aqt-stable-stable.yml +++ b/.github/workflows/aqt-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/braket-latest-latest.yml b/.github/workflows/braket-latest-latest.yml index 233fde0..f86794d 100644 --- a/.github/workflows/braket-latest-latest.yml +++ b/.github/workflows/braket-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/braket-latest-rc.yml b/.github/workflows/braket-latest-rc.yml index 26e6d64..8aa72f3 100644 --- a/.github/workflows/braket-latest-rc.yml +++ b/.github/workflows/braket-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/braket-latest-stable.yml b/.github/workflows/braket-latest-stable.yml index dfee55e..f4437b8 100644 --- a/.github/workflows/braket-latest-stable.yml +++ b/.github/workflows/braket-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/braket-stable-latest.yml b/.github/workflows/braket-stable-latest.yml index e21d034..d03f657 100644 --- a/.github/workflows/braket-stable-latest.yml +++ b/.github/workflows/braket-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/braket-stable-stable.yml b/.github/workflows/braket-stable-stable.yml index 4ad4001..6f1d4d6 100644 --- a/.github/workflows/braket-stable-stable.yml +++ b/.github/workflows/braket-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/cirq-latest-latest.yml b/.github/workflows/cirq-latest-latest.yml index 57658c4..95b7590 100644 --- a/.github/workflows/cirq-latest-latest.yml +++ b/.github/workflows/cirq-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/cirq-latest-rc.yml b/.github/workflows/cirq-latest-rc.yml index c9823c5..394f417 100644 --- a/.github/workflows/cirq-latest-rc.yml +++ b/.github/workflows/cirq-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/cirq-latest-stable.yml b/.github/workflows/cirq-latest-stable.yml index e6eaf72..01b2bea 100644 --- a/.github/workflows/cirq-latest-stable.yml +++ b/.github/workflows/cirq-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/cirq-stable-latest.yml b/.github/workflows/cirq-stable-latest.yml index 438265a..8b7f35e 100644 --- a/.github/workflows/cirq-stable-latest.yml +++ b/.github/workflows/cirq-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/cirq-stable-stable.yml b/.github/workflows/cirq-stable-stable.yml index eeb3751..ef6db6a 100644 --- a/.github/workflows/cirq-stable-stable.yml +++ b/.github/workflows/cirq-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/ensure_compiled.yml b/.github/workflows/ensure_compiled.yml index ab2ee90..ed7cfa9 100644 --- a/.github/workflows/ensure_compiled.yml +++ b/.github/workflows/ensure_compiled.yml @@ -3,7 +3,7 @@ on: push: branches: - master - pull_request: + #pull_request: jobs: check-diff: diff --git a/.github/workflows/honeywell-latest-latest.yml b/.github/workflows/honeywell-latest-latest.yml index 7e904c8..ffc1eaa 100644 --- a/.github/workflows/honeywell-latest-latest.yml +++ b/.github/workflows/honeywell-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/honeywell-latest-rc.yml b/.github/workflows/honeywell-latest-rc.yml index 77b49fb..138fde5 100644 --- a/.github/workflows/honeywell-latest-rc.yml +++ b/.github/workflows/honeywell-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/honeywell-latest-stable.yml b/.github/workflows/honeywell-latest-stable.yml index 56cf5fc..b255406 100644 --- a/.github/workflows/honeywell-latest-stable.yml +++ b/.github/workflows/honeywell-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/honeywell-stable-latest.yml b/.github/workflows/honeywell-stable-latest.yml index a1db086..c739a85 100644 --- a/.github/workflows/honeywell-stable-latest.yml +++ b/.github/workflows/honeywell-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/honeywell-stable-stable.yml b/.github/workflows/honeywell-stable-stable.yml index 4c5debf..948be5a 100644 --- a/.github/workflows/honeywell-stable-stable.yml +++ b/.github/workflows/honeywell-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/ionq-latest-latest.yml b/.github/workflows/ionq-latest-latest.yml index 52f966a..74f41fd 100644 --- a/.github/workflows/ionq-latest-latest.yml +++ b/.github/workflows/ionq-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/ionq-latest-rc.yml b/.github/workflows/ionq-latest-rc.yml index 9f46af2..9d8c7fd 100644 --- a/.github/workflows/ionq-latest-rc.yml +++ b/.github/workflows/ionq-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/ionq-latest-stable.yml b/.github/workflows/ionq-latest-stable.yml index 488f4e2..2bac730 100644 --- a/.github/workflows/ionq-latest-stable.yml +++ b/.github/workflows/ionq-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/ionq-stable-latest.yml b/.github/workflows/ionq-stable-latest.yml index 74be66e..ef348f2 100644 --- a/.github/workflows/ionq-stable-latest.yml +++ b/.github/workflows/ionq-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/ionq-stable-stable.yml b/.github/workflows/ionq-stable-stable.yml index 4f20c5e..818fa0d 100644 --- a/.github/workflows/ionq-stable-stable.yml +++ b/.github/workflows/ionq-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/old-workflow b/.github/workflows/old-workflow index 47985fc..a427efa 100644 --- a/.github/workflows/old-workflow +++ b/.github/workflows/old-workflow @@ -1,7 +1,7 @@ name: qiskit-stable on: push: - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/orquestra-latest-latest.yml b/.github/workflows/orquestra-latest-latest.yml index 429111e..9a65103 100644 --- a/.github/workflows/orquestra-latest-latest.yml +++ b/.github/workflows/orquestra-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/orquestra-latest-rc.yml b/.github/workflows/orquestra-latest-rc.yml index 9df2c01..d1f9d5c 100644 --- a/.github/workflows/orquestra-latest-rc.yml +++ b/.github/workflows/orquestra-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/orquestra-latest-stable.yml b/.github/workflows/orquestra-latest-stable.yml index 9037dae..1d5f432 100644 --- a/.github/workflows/orquestra-latest-stable.yml +++ b/.github/workflows/orquestra-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/orquestra-stable-latest.yml b/.github/workflows/orquestra-stable-latest.yml index 9cdee85..70d34d0 100644 --- a/.github/workflows/orquestra-stable-latest.yml +++ b/.github/workflows/orquestra-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/orquestra-stable-stable.yml b/.github/workflows/orquestra-stable-stable.yml index 1c0ac50..deba19e 100644 --- a/.github/workflows/orquestra-stable-stable.yml +++ b/.github/workflows/orquestra-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/pq-latest-latest.yml b/.github/workflows/pq-latest-latest.yml index d103a09..f29d7dc 100644 --- a/.github/workflows/pq-latest-latest.yml +++ b/.github/workflows/pq-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/pq-latest-rc.yml b/.github/workflows/pq-latest-rc.yml index d8e2622..b014ace 100644 --- a/.github/workflows/pq-latest-rc.yml +++ b/.github/workflows/pq-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/pq-latest-stable.yml b/.github/workflows/pq-latest-stable.yml index 755a2eb..ffa83db 100644 --- a/.github/workflows/pq-latest-stable.yml +++ b/.github/workflows/pq-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/pq-stable-latest.yml b/.github/workflows/pq-stable-latest.yml index 9da4866..88d0e61 100644 --- a/.github/workflows/pq-stable-latest.yml +++ b/.github/workflows/pq-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/pq-stable-stable.yml b/.github/workflows/pq-stable-stable.yml index 23945e0..f3dcfbe 100644 --- a/.github/workflows/pq-stable-stable.yml +++ b/.github/workflows/pq-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/qiskit-latest-latest.yml b/.github/workflows/qiskit-latest-latest.yml index 40ac913..74cee88 100644 --- a/.github/workflows/qiskit-latest-latest.yml +++ b/.github/workflows/qiskit-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qiskit-latest-rc.yml b/.github/workflows/qiskit-latest-rc.yml index effba75..a61d422 100644 --- a/.github/workflows/qiskit-latest-rc.yml +++ b/.github/workflows/qiskit-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qiskit-latest-stable.yml b/.github/workflows/qiskit-latest-stable.yml index c35153b..5ac4763 100644 --- a/.github/workflows/qiskit-latest-stable.yml +++ b/.github/workflows/qiskit-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/qiskit-stable-latest.yml b/.github/workflows/qiskit-stable-latest.yml index ccaef57..f97cce7 100644 --- a/.github/workflows/qiskit-stable-latest.yml +++ b/.github/workflows/qiskit-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qiskit-stable-stable.yml b/.github/workflows/qiskit-stable-stable.yml index 279cc20..109327f 100644 --- a/.github/workflows/qiskit-stable-stable.yml +++ b/.github/workflows/qiskit-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/quantuminspire-latest-latest.yml b/.github/workflows/quantuminspire-latest-latest.yml index 143c0cf..cf4be95 100644 --- a/.github/workflows/quantuminspire-latest-latest.yml +++ b/.github/workflows/quantuminspire-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/quantuminspire-latest-rc.yml b/.github/workflows/quantuminspire-latest-rc.yml index c4827cc..647f52d 100644 --- a/.github/workflows/quantuminspire-latest-rc.yml +++ b/.github/workflows/quantuminspire-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/quantuminspire-latest-stable.yml b/.github/workflows/quantuminspire-latest-stable.yml index 3d6475b..cb9e8f3 100644 --- a/.github/workflows/quantuminspire-latest-stable.yml +++ b/.github/workflows/quantuminspire-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/quantuminspire-stable-latest.yml b/.github/workflows/quantuminspire-stable-latest.yml index 056ace1..bfd367a 100644 --- a/.github/workflows/quantuminspire-stable-latest.yml +++ b/.github/workflows/quantuminspire-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/quantuminspire-stable-stable.yml b/.github/workflows/quantuminspire-stable-stable.yml index 5537cd6..70ab3c8 100644 --- a/.github/workflows/quantuminspire-stable-stable.yml +++ b/.github/workflows/quantuminspire-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/qulacs-latest-latest.yml b/.github/workflows/qulacs-latest-latest.yml index 70ba350..a12ddee 100644 --- a/.github/workflows/qulacs-latest-latest.yml +++ b/.github/workflows/qulacs-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qulacs-latest-rc.yml b/.github/workflows/qulacs-latest-rc.yml index fb92609..c45f03a 100644 --- a/.github/workflows/qulacs-latest-rc.yml +++ b/.github/workflows/qulacs-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qulacs-latest-stable.yml b/.github/workflows/qulacs-latest-stable.yml index 94b9ba1..8c4bffb 100644 --- a/.github/workflows/qulacs-latest-stable.yml +++ b/.github/workflows/qulacs-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/qulacs-stable-latest.yml b/.github/workflows/qulacs-stable-latest.yml index d8bc260..3d3b7e3 100644 --- a/.github/workflows/qulacs-stable-latest.yml +++ b/.github/workflows/qulacs-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qulacs-stable-stable.yml b/.github/workflows/qulacs-stable-stable.yml index 2a39ebf..ecbfd54 100644 --- a/.github/workflows/qulacs-stable-stable.yml +++ b/.github/workflows/qulacs-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/rigetti-latest-latest.yml b/.github/workflows/rigetti-latest-latest.yml index ab4500c..bf3aef7 100644 --- a/.github/workflows/rigetti-latest-latest.yml +++ b/.github/workflows/rigetti-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/rigetti-latest-rc.yml b/.github/workflows/rigetti-latest-rc.yml index 59d8756..075fe66 100644 --- a/.github/workflows/rigetti-latest-rc.yml +++ b/.github/workflows/rigetti-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/rigetti-latest-stable.yml b/.github/workflows/rigetti-latest-stable.yml index e05e6e9..927dc4f 100644 --- a/.github/workflows/rigetti-latest-stable.yml +++ b/.github/workflows/rigetti-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/rigetti-stable-latest.yml b/.github/workflows/rigetti-stable-latest.yml index 130efb4..475f2f9 100644 --- a/.github/workflows/rigetti-stable-latest.yml +++ b/.github/workflows/rigetti-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/rigetti-stable-stable.yml b/.github/workflows/rigetti-stable-stable.yml index 4b1a243..4b26f51 100644 --- a/.github/workflows/rigetti-stable-stable.yml +++ b/.github/workflows/rigetti-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - pull_request: + #pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: From c6badab06bc7e02ac37015d41789c14470197d34 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 25 Oct 2023 10:55:59 -0400 Subject: [PATCH 03/10] Update rc version. --- .github/workflows/lightning-latest-rc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lightning-latest-rc.yml b/.github/workflows/lightning-latest-rc.yml index 6a0ae58..9609794 100644 --- a/.github/workflows/lightning-latest-rc.yml +++ b/.github/workflows/lightning-latest-rc.yml @@ -50,7 +50,7 @@ jobs: - name: Install PennyLane and Plugin run: | - pip install git+https://github.com/PennyLaneAI/pennylane.git@v0.32.0-rc0 \ + pip install git+https://github.com/PennyLaneAI/pennylane.git@v0.33.0-rc0 \ git+https://github.com/${{ env.PLUGIN_REPO }}.git@${{ env.PLUGIN_BRANCH }} - uses: actions/checkout@v2 From b02fde67d40c53eab648771608fced79e593d7d9 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 25 Oct 2023 11:13:52 -0400 Subject: [PATCH 04/10] Add pl_backend variable. --- .github/workflows/lightning-latest-rc.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lightning-latest-rc.yml b/.github/workflows/lightning-latest-rc.yml index 9609794..c268338 100644 --- a/.github/workflows/lightning-latest-rc.yml +++ b/.github/workflows/lightning-latest-rc.yml @@ -25,6 +25,8 @@ jobs: strategy: fail-fast: false + matrix: + pl_backend: ["lightning_qubit"] steps: - name: Cancel Previous Runs @@ -48,10 +50,9 @@ jobs: pip install pytest pytest-mock pytest-cov flaky pip freeze - - name: Install PennyLane and Plugin + - name: Install PennyLane run: | - pip install git+https://github.com/PennyLaneAI/pennylane.git@v0.33.0-rc0 \ - git+https://github.com/${{ env.PLUGIN_REPO }}.git@${{ env.PLUGIN_BRANCH }} + pip install git+https://github.com/PennyLaneAI/pennylane.git@v0.33.0-rc0 - uses: actions/checkout@v2 with: @@ -59,10 +60,18 @@ jobs: path: plugin_repo ref: ${{ env.PLUGIN_BRANCH }} + - name: InstallPlugin + run: | + cd plugin_repo + PL_BACKEND=${{ matrix.pl_backend }} pip install . -vv + - name: Run PennyLane device integration tests run: | - pl-device-test --device lightning.qubit --shots=None --skip-ops - pl-device-test --device lightning.qubit --skip-ops --shots=20000 + DEVICENAME=`echo ${{ matrix.pl_backend }} | sed "s/_/./g"` + pl-device-test --device ${DEVICENAME} --shots=None --skip-ops + pl-device-test --device ${DEVICENAME} --skip-ops --shots=20000 - name: Run plugin tests - run: python -m pytest plugin_repo/tests --tb=short + run: | + DEVICENAME=`echo ${{ matrix.pl_backend }} | sed "s/_/./g"` + PL_DEVICE=${DEVICENAME} python -m pytest plugin_repo/tests --tb=short From 392ce2b2619769567e163016cbe09efb3a26f9fd Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 25 Oct 2023 11:19:09 -0400 Subject: [PATCH 05/10] Try kokkos. --- .github/workflows/lightning-latest-rc.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lightning-latest-rc.yml b/.github/workflows/lightning-latest-rc.yml index c268338..48945ef 100644 --- a/.github/workflows/lightning-latest-rc.yml +++ b/.github/workflows/lightning-latest-rc.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - pl_backend: ["lightning_qubit"] + pl_backend: ["lightning_kokkos"] steps: - name: Cancel Previous Runs @@ -60,7 +60,7 @@ jobs: path: plugin_repo ref: ${{ env.PLUGIN_BRANCH }} - - name: InstallPlugin + - name: Install Plugin run: | cd plugin_repo PL_BACKEND=${{ matrix.pl_backend }} pip install . -vv From f9565cb9c22100fdf32c10be1bb693730057bc9b Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 25 Oct 2023 11:21:16 -0400 Subject: [PATCH 06/10] Fix lightning req --- .github/workflows/lightning-latest-rc.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lightning-latest-rc.yml b/.github/workflows/lightning-latest-rc.yml index 48945ef..6dc14d2 100644 --- a/.github/workflows/lightning-latest-rc.yml +++ b/.github/workflows/lightning-latest-rc.yml @@ -63,6 +63,7 @@ jobs: - name: Install Plugin run: | cd plugin_repo + SKIP_COMPILATION=True PL_BACKEND=lightning_qubit pip install . -vv PL_BACKEND=${{ matrix.pl_backend }} pip install . -vv - name: Run PennyLane device integration tests From c8d5338086a3954e31f488f924b9fad3e9b1734b Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 25 Oct 2023 11:25:34 -0400 Subject: [PATCH 07/10] Build both backends. --- .github/workflows/lightning-latest-rc.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lightning-latest-rc.yml b/.github/workflows/lightning-latest-rc.yml index 6dc14d2..7236f9f 100644 --- a/.github/workflows/lightning-latest-rc.yml +++ b/.github/workflows/lightning-latest-rc.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - pl_backend: ["lightning_kokkos"] + pl_backend: ["lightning_qubit", "lightning_kokkos"] steps: - name: Cancel Previous Runs @@ -38,7 +38,7 @@ jobs: uses: actions/setup-python@v2 with: python-version: "3.10" - + - name: Install buildtools & compilers run: | sudo apt-get update && sudo apt-get -y -q install cmake gcc-${{ env.GCC_VERSION }} g++-${{ env.GCC_VERSION }} ninja-build From 99c934664d9a218ca34c792d1617b7ea54305994 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 25 Oct 2023 11:30:19 -0400 Subject: [PATCH 08/10] Restore triggers. --- .github/workflows/aqt-latest-latest.yml | 2 +- .github/workflows/aqt-latest-rc.yml | 2 +- .github/workflows/aqt-latest-stable.yml | 2 +- .github/workflows/aqt-stable-latest.yml | 2 +- .github/workflows/aqt-stable-stable.yml | 2 +- .github/workflows/braket-latest-latest.yml | 2 +- .github/workflows/braket-latest-rc.yml | 2 +- .github/workflows/braket-latest-stable.yml | 2 +- .github/workflows/braket-stable-latest.yml | 2 +- .github/workflows/braket-stable-stable.yml | 2 +- .github/workflows/cirq-latest-latest.yml | 2 +- .github/workflows/cirq-latest-rc.yml | 2 +- .github/workflows/cirq-latest-stable.yml | 2 +- .github/workflows/cirq-stable-latest.yml | 2 +- .github/workflows/cirq-stable-stable.yml | 2 +- .github/workflows/ensure_compiled.yml | 2 +- .github/workflows/honeywell-latest-latest.yml | 2 +- .github/workflows/honeywell-latest-rc.yml | 2 +- .github/workflows/honeywell-latest-stable.yml | 2 +- .github/workflows/honeywell-stable-latest.yml | 2 +- .github/workflows/honeywell-stable-stable.yml | 2 +- .github/workflows/ionq-latest-latest.yml | 2 +- .github/workflows/ionq-latest-rc.yml | 2 +- .github/workflows/ionq-latest-stable.yml | 2 +- .github/workflows/ionq-stable-latest.yml | 2 +- .github/workflows/ionq-stable-stable.yml | 2 +- .github/workflows/old-workflow | 2 +- .github/workflows/orquestra-latest-latest.yml | 2 +- .github/workflows/orquestra-latest-rc.yml | 2 +- .github/workflows/orquestra-latest-stable.yml | 2 +- .github/workflows/orquestra-stable-latest.yml | 2 +- .github/workflows/orquestra-stable-stable.yml | 2 +- .github/workflows/pq-latest-latest.yml | 2 +- .github/workflows/pq-latest-rc.yml | 2 +- .github/workflows/pq-latest-stable.yml | 2 +- .github/workflows/pq-stable-latest.yml | 2 +- .github/workflows/pq-stable-stable.yml | 2 +- .github/workflows/qiskit-latest-latest.yml | 2 +- .github/workflows/qiskit-latest-rc.yml | 2 +- .github/workflows/qiskit-latest-stable.yml | 2 +- .github/workflows/qiskit-stable-latest.yml | 2 +- .github/workflows/qiskit-stable-stable.yml | 2 +- .github/workflows/quantuminspire-latest-latest.yml | 2 +- .github/workflows/quantuminspire-latest-rc.yml | 2 +- .github/workflows/quantuminspire-latest-stable.yml | 2 +- .github/workflows/quantuminspire-stable-latest.yml | 2 +- .github/workflows/quantuminspire-stable-stable.yml | 2 +- .github/workflows/qulacs-latest-latest.yml | 2 +- .github/workflows/qulacs-latest-rc.yml | 2 +- .github/workflows/qulacs-latest-stable.yml | 2 +- .github/workflows/qulacs-stable-latest.yml | 2 +- .github/workflows/qulacs-stable-stable.yml | 2 +- .github/workflows/rigetti-latest-latest.yml | 2 +- .github/workflows/rigetti-latest-rc.yml | 2 +- .github/workflows/rigetti-latest-stable.yml | 2 +- .github/workflows/rigetti-stable-latest.yml | 2 +- .github/workflows/rigetti-stable-stable.yml | 2 +- 57 files changed, 57 insertions(+), 57 deletions(-) diff --git a/.github/workflows/aqt-latest-latest.yml b/.github/workflows/aqt-latest-latest.yml index 2981d2c..1a465e0 100644 --- a/.github/workflows/aqt-latest-latest.yml +++ b/.github/workflows/aqt-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/aqt-latest-rc.yml b/.github/workflows/aqt-latest-rc.yml index 93fba9c..69e179b 100644 --- a/.github/workflows/aqt-latest-rc.yml +++ b/.github/workflows/aqt-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/aqt-latest-stable.yml b/.github/workflows/aqt-latest-stable.yml index 5daa2e2..aced03b 100644 --- a/.github/workflows/aqt-latest-stable.yml +++ b/.github/workflows/aqt-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/aqt-stable-latest.yml b/.github/workflows/aqt-stable-latest.yml index 04b9ae6..248668a 100644 --- a/.github/workflows/aqt-stable-latest.yml +++ b/.github/workflows/aqt-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/aqt-stable-stable.yml b/.github/workflows/aqt-stable-stable.yml index 2a32842..6741b74 100644 --- a/.github/workflows/aqt-stable-stable.yml +++ b/.github/workflows/aqt-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/braket-latest-latest.yml b/.github/workflows/braket-latest-latest.yml index f86794d..233fde0 100644 --- a/.github/workflows/braket-latest-latest.yml +++ b/.github/workflows/braket-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/braket-latest-rc.yml b/.github/workflows/braket-latest-rc.yml index 8aa72f3..26e6d64 100644 --- a/.github/workflows/braket-latest-rc.yml +++ b/.github/workflows/braket-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/braket-latest-stable.yml b/.github/workflows/braket-latest-stable.yml index f4437b8..dfee55e 100644 --- a/.github/workflows/braket-latest-stable.yml +++ b/.github/workflows/braket-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/braket-stable-latest.yml b/.github/workflows/braket-stable-latest.yml index d03f657..e21d034 100644 --- a/.github/workflows/braket-stable-latest.yml +++ b/.github/workflows/braket-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/braket-stable-stable.yml b/.github/workflows/braket-stable-stable.yml index 6f1d4d6..4ad4001 100644 --- a/.github/workflows/braket-stable-stable.yml +++ b/.github/workflows/braket-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/cirq-latest-latest.yml b/.github/workflows/cirq-latest-latest.yml index 95b7590..57658c4 100644 --- a/.github/workflows/cirq-latest-latest.yml +++ b/.github/workflows/cirq-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/cirq-latest-rc.yml b/.github/workflows/cirq-latest-rc.yml index 394f417..c9823c5 100644 --- a/.github/workflows/cirq-latest-rc.yml +++ b/.github/workflows/cirq-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/cirq-latest-stable.yml b/.github/workflows/cirq-latest-stable.yml index 01b2bea..e6eaf72 100644 --- a/.github/workflows/cirq-latest-stable.yml +++ b/.github/workflows/cirq-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/cirq-stable-latest.yml b/.github/workflows/cirq-stable-latest.yml index 8b7f35e..438265a 100644 --- a/.github/workflows/cirq-stable-latest.yml +++ b/.github/workflows/cirq-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/cirq-stable-stable.yml b/.github/workflows/cirq-stable-stable.yml index ef6db6a..eeb3751 100644 --- a/.github/workflows/cirq-stable-stable.yml +++ b/.github/workflows/cirq-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/ensure_compiled.yml b/.github/workflows/ensure_compiled.yml index ed7cfa9..ab2ee90 100644 --- a/.github/workflows/ensure_compiled.yml +++ b/.github/workflows/ensure_compiled.yml @@ -3,7 +3,7 @@ on: push: branches: - master - #pull_request: + pull_request: jobs: check-diff: diff --git a/.github/workflows/honeywell-latest-latest.yml b/.github/workflows/honeywell-latest-latest.yml index ffc1eaa..7e904c8 100644 --- a/.github/workflows/honeywell-latest-latest.yml +++ b/.github/workflows/honeywell-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/honeywell-latest-rc.yml b/.github/workflows/honeywell-latest-rc.yml index 138fde5..77b49fb 100644 --- a/.github/workflows/honeywell-latest-rc.yml +++ b/.github/workflows/honeywell-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/honeywell-latest-stable.yml b/.github/workflows/honeywell-latest-stable.yml index b255406..56cf5fc 100644 --- a/.github/workflows/honeywell-latest-stable.yml +++ b/.github/workflows/honeywell-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/honeywell-stable-latest.yml b/.github/workflows/honeywell-stable-latest.yml index c739a85..a1db086 100644 --- a/.github/workflows/honeywell-stable-latest.yml +++ b/.github/workflows/honeywell-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/honeywell-stable-stable.yml b/.github/workflows/honeywell-stable-stable.yml index 948be5a..4c5debf 100644 --- a/.github/workflows/honeywell-stable-stable.yml +++ b/.github/workflows/honeywell-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/ionq-latest-latest.yml b/.github/workflows/ionq-latest-latest.yml index 74f41fd..52f966a 100644 --- a/.github/workflows/ionq-latest-latest.yml +++ b/.github/workflows/ionq-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/ionq-latest-rc.yml b/.github/workflows/ionq-latest-rc.yml index 9d8c7fd..9f46af2 100644 --- a/.github/workflows/ionq-latest-rc.yml +++ b/.github/workflows/ionq-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/ionq-latest-stable.yml b/.github/workflows/ionq-latest-stable.yml index 2bac730..488f4e2 100644 --- a/.github/workflows/ionq-latest-stable.yml +++ b/.github/workflows/ionq-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/ionq-stable-latest.yml b/.github/workflows/ionq-stable-latest.yml index ef348f2..74be66e 100644 --- a/.github/workflows/ionq-stable-latest.yml +++ b/.github/workflows/ionq-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/ionq-stable-stable.yml b/.github/workflows/ionq-stable-stable.yml index 818fa0d..4f20c5e 100644 --- a/.github/workflows/ionq-stable-stable.yml +++ b/.github/workflows/ionq-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/old-workflow b/.github/workflows/old-workflow index a427efa..47985fc 100644 --- a/.github/workflows/old-workflow +++ b/.github/workflows/old-workflow @@ -1,7 +1,7 @@ name: qiskit-stable on: push: - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/orquestra-latest-latest.yml b/.github/workflows/orquestra-latest-latest.yml index 9a65103..429111e 100644 --- a/.github/workflows/orquestra-latest-latest.yml +++ b/.github/workflows/orquestra-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/orquestra-latest-rc.yml b/.github/workflows/orquestra-latest-rc.yml index d1f9d5c..9df2c01 100644 --- a/.github/workflows/orquestra-latest-rc.yml +++ b/.github/workflows/orquestra-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/orquestra-latest-stable.yml b/.github/workflows/orquestra-latest-stable.yml index 1d5f432..9037dae 100644 --- a/.github/workflows/orquestra-latest-stable.yml +++ b/.github/workflows/orquestra-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/orquestra-stable-latest.yml b/.github/workflows/orquestra-stable-latest.yml index 70d34d0..9cdee85 100644 --- a/.github/workflows/orquestra-stable-latest.yml +++ b/.github/workflows/orquestra-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/orquestra-stable-stable.yml b/.github/workflows/orquestra-stable-stable.yml index deba19e..1c0ac50 100644 --- a/.github/workflows/orquestra-stable-stable.yml +++ b/.github/workflows/orquestra-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/pq-latest-latest.yml b/.github/workflows/pq-latest-latest.yml index f29d7dc..d103a09 100644 --- a/.github/workflows/pq-latest-latest.yml +++ b/.github/workflows/pq-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/pq-latest-rc.yml b/.github/workflows/pq-latest-rc.yml index b014ace..d8e2622 100644 --- a/.github/workflows/pq-latest-rc.yml +++ b/.github/workflows/pq-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/pq-latest-stable.yml b/.github/workflows/pq-latest-stable.yml index ffa83db..755a2eb 100644 --- a/.github/workflows/pq-latest-stable.yml +++ b/.github/workflows/pq-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/pq-stable-latest.yml b/.github/workflows/pq-stable-latest.yml index 88d0e61..9da4866 100644 --- a/.github/workflows/pq-stable-latest.yml +++ b/.github/workflows/pq-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/pq-stable-stable.yml b/.github/workflows/pq-stable-stable.yml index f3dcfbe..23945e0 100644 --- a/.github/workflows/pq-stable-stable.yml +++ b/.github/workflows/pq-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/qiskit-latest-latest.yml b/.github/workflows/qiskit-latest-latest.yml index 74cee88..40ac913 100644 --- a/.github/workflows/qiskit-latest-latest.yml +++ b/.github/workflows/qiskit-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qiskit-latest-rc.yml b/.github/workflows/qiskit-latest-rc.yml index a61d422..effba75 100644 --- a/.github/workflows/qiskit-latest-rc.yml +++ b/.github/workflows/qiskit-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qiskit-latest-stable.yml b/.github/workflows/qiskit-latest-stable.yml index 5ac4763..c35153b 100644 --- a/.github/workflows/qiskit-latest-stable.yml +++ b/.github/workflows/qiskit-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/qiskit-stable-latest.yml b/.github/workflows/qiskit-stable-latest.yml index f97cce7..ccaef57 100644 --- a/.github/workflows/qiskit-stable-latest.yml +++ b/.github/workflows/qiskit-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qiskit-stable-stable.yml b/.github/workflows/qiskit-stable-stable.yml index 109327f..279cc20 100644 --- a/.github/workflows/qiskit-stable-stable.yml +++ b/.github/workflows/qiskit-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/quantuminspire-latest-latest.yml b/.github/workflows/quantuminspire-latest-latest.yml index cf4be95..143c0cf 100644 --- a/.github/workflows/quantuminspire-latest-latest.yml +++ b/.github/workflows/quantuminspire-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/quantuminspire-latest-rc.yml b/.github/workflows/quantuminspire-latest-rc.yml index 647f52d..c4827cc 100644 --- a/.github/workflows/quantuminspire-latest-rc.yml +++ b/.github/workflows/quantuminspire-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/quantuminspire-latest-stable.yml b/.github/workflows/quantuminspire-latest-stable.yml index cb9e8f3..3d6475b 100644 --- a/.github/workflows/quantuminspire-latest-stable.yml +++ b/.github/workflows/quantuminspire-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/quantuminspire-stable-latest.yml b/.github/workflows/quantuminspire-stable-latest.yml index bfd367a..056ace1 100644 --- a/.github/workflows/quantuminspire-stable-latest.yml +++ b/.github/workflows/quantuminspire-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/quantuminspire-stable-stable.yml b/.github/workflows/quantuminspire-stable-stable.yml index 70ab3c8..5537cd6 100644 --- a/.github/workflows/quantuminspire-stable-stable.yml +++ b/.github/workflows/quantuminspire-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/qulacs-latest-latest.yml b/.github/workflows/qulacs-latest-latest.yml index a12ddee..70ba350 100644 --- a/.github/workflows/qulacs-latest-latest.yml +++ b/.github/workflows/qulacs-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qulacs-latest-rc.yml b/.github/workflows/qulacs-latest-rc.yml index c45f03a..fb92609 100644 --- a/.github/workflows/qulacs-latest-rc.yml +++ b/.github/workflows/qulacs-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qulacs-latest-stable.yml b/.github/workflows/qulacs-latest-stable.yml index 8c4bffb..94b9ba1 100644 --- a/.github/workflows/qulacs-latest-stable.yml +++ b/.github/workflows/qulacs-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/qulacs-stable-latest.yml b/.github/workflows/qulacs-stable-latest.yml index 3d3b7e3..d8bc260 100644 --- a/.github/workflows/qulacs-stable-latest.yml +++ b/.github/workflows/qulacs-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/qulacs-stable-stable.yml b/.github/workflows/qulacs-stable-stable.yml index ecbfd54..2a39ebf 100644 --- a/.github/workflows/qulacs-stable-stable.yml +++ b/.github/workflows/qulacs-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/rigetti-latest-latest.yml b/.github/workflows/rigetti-latest-latest.yml index bf3aef7..ab4500c 100644 --- a/.github/workflows/rigetti-latest-latest.yml +++ b/.github/workflows/rigetti-latest-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/rigetti-latest-rc.yml b/.github/workflows/rigetti-latest-rc.yml index 075fe66..59d8756 100644 --- a/.github/workflows/rigetti-latest-rc.yml +++ b/.github/workflows/rigetti-latest-rc.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/rigetti-latest-stable.yml b/.github/workflows/rigetti-latest-stable.yml index 927dc4f..e05e6e9 100644 --- a/.github/workflows/rigetti-latest-stable.yml +++ b/.github/workflows/rigetti-latest-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: diff --git a/.github/workflows/rigetti-stable-latest.yml b/.github/workflows/rigetti-stable-latest.yml index 475f2f9..130efb4 100644 --- a/.github/workflows/rigetti-stable-latest.yml +++ b/.github/workflows/rigetti-stable-latest.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/rigetti-stable-stable.yml b/.github/workflows/rigetti-stable-stable.yml index 4b26f51..4b1a243 100644 --- a/.github/workflows/rigetti-stable-stable.yml +++ b/.github/workflows/rigetti-stable-stable.yml @@ -5,7 +5,7 @@ on: push: branches: - master - #pull_request: + pull_request: schedule: - cron: '0 0 * * 0' workflow_dispatch: From 6cc145073762cccebca0478e57d00c14ae7f237f Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 25 Oct 2023 13:38:36 -0400 Subject: [PATCH 09/10] Update compile.py --- compile.py | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/compile.py b/compile.py index f08192e..35ede60 100644 --- a/compile.py +++ b/compile.py @@ -132,6 +132,13 @@ "tests_loc": "tests/unit_test", "token": "QI_TOKEN", }, + { + "plugin": "lightning", + "gh_user": "PennyLaneAI", + "which": [], + "requirements": [], + "device_tests": [], + }, ] @@ -170,11 +177,10 @@ def render_templates(): ) # PennyLane release candidate tests - for i in wf["which"]: - with open(f".github/workflows/{wf['plugin']}-latest-rc.yml", "w") as f: - f.write( - render_from_template("workflow-template-release-candidate.yml", latest=True, **wf) - ) + with open(f".github/workflows/{wf['plugin']}-latest-rc.yml", "w") as f: + f.write( + render_from_template("workflow-template-release-candidate.yml", latest=True, **wf) + ) if __name__ == "__main__": From d753a9860975deb2f0e550bd29e8247d1f517f43 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Wed, 25 Oct 2023 15:17:27 -0400 Subject: [PATCH 10/10] Update compile.py [skip ci] Co-authored-by: Matthew Silverman --- compile.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/compile.py b/compile.py index 35ede60..dd9a9ff 100644 --- a/compile.py +++ b/compile.py @@ -132,13 +132,6 @@ "tests_loc": "tests/unit_test", "token": "QI_TOKEN", }, - { - "plugin": "lightning", - "gh_user": "PennyLaneAI", - "which": [], - "requirements": [], - "device_tests": [], - }, ]