Skip to content

Commit

Permalink
fixing bv_nb for testing and adding print to the changed files
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadav Ben Ami authored and Nadav Ben Ami committed Oct 9, 2024
1 parent bc6206d commit d421cd2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ on:
branches:
- dev
- main
- CAD-22795-restore-changes
- CAD-22795-restore-changes # Temp

# Trigger the workflow on pull requests targeting the specific branch
pull_request: #_target: # Note: `pull_request_target` ensures that the tests run in the context of the `main` branch, not in the user's fork. This has important security implications and should not be changed to `pull_request`
# types: [opened, synchronize] # Triggered when PR is open or updated with new commit
branches:
- dev
- main
- CAD-22795-restore-changes
- CAD-22795-restore-changes # Temp

# Add a manual trigger option for running the workflow
workflow_dispatch:
Expand Down Expand Up @@ -77,6 +77,11 @@ jobs:
with:
files: |
**/*.ipynb
- name: Print changed notebook files
run: |
echo "Changed notebook files: ${{ steps.changed-files-ipynb.outputs.all_changed_files }}"
- name: Set changed notebook into environment variables
run: |
set -ex
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"\n",
"\n",
"@qfunc\n",
"def prepare_minus(target: Output[QBit]) \n",
"def prepare_minus(target: Output[QBit]):\n",
" allocate(out=target, num_qubits=1)\n",
" X(target)\n",
" H(target)"
Expand Down

0 comments on commit d421cd2

Please sign in to comment.