Update QNode
for PyTree support
#56369
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: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
# Scheduled trigger on Monday at 2:47am UTC | |
schedule: | |
- cron: "47 2 * * 1" | |
concurrency: | |
group: unit-tests-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
if: github.event.pull_request.draft == false | |
uses: ./.github/workflows/interface-unit-tests.yml | |
secrets: | |
codecov_token: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
branch: ${{ github.ref }} | |
# Run a 'lightened' version of the CI on Pull Requests by default | |
# Unless the label `ci:run-full-test-suite` is attached to the PR. | |
# Always runs the full suite for push events. | |
run_lightened_ci: >- | |
${{ | |
github.event_name == 'pull_request' | |
&& !contains(github.event.pull_request.labels.*.name, 'ci:run-full-test-suite') | |
|| false | |
}} | |
upload-stable-deps: | |
needs: tests | |
uses: ./.github/workflows/check_in_artifact.yml | |
if: github.event_name == 'schedule' | |
with: | |
artifact_name_pattern: "frozen-*" | |
artifact_save_path: ".github/stable/" | |
pull_request_head_branch_name: bot/stable-deps-update | |
commit_message_description: Frozen Dependencies Update | |
pull_request_title: Update stable dependency files | |
pull_request_body: | | |
Automatic update of stable requirement files to snapshot valid python environments. | |
Because bots are not able to trigger CI on their own, please do so by pushing an empty commit to this branch using the following command: | |
``` | |
git commit --allow-empty -m 'trigger ci' | |
``` |