Skip to content

Commit 7945915

Browse files
committed
Try another way to use the debug flag
1 parent 05d14f9 commit 7945915

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci-nightly-cirq-test.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ env:
4949
build --verbose_failures
5050
test --test_timeout=3000
5151
52-
# Equivalent to doing 'set -x' in shell scripts.
53-
SHELLOPTS: ${{inputs.debug && 'xtrace'}}
54-
5552
concurrency:
5653
# Cancel any previously-started but still active runs on the same branch.
5754
cancel-in-progress: true
@@ -86,6 +83,10 @@ jobs:
8683
- name: Install TensorFlow Quantum dependencies
8784
run: pip install -r requirements.txt
8885

86+
- name: Turn on debug tracing
87+
if: inputs.debug || runner.debug
88+
run: set -x
89+
8990
- name: Install the nightly build version of Cirq
9091
run: |
9192
echo 'numpy<2.0.0' > constraint.txt

0 commit comments

Comments
 (0)