Skip to content

Commit

Permalink
move patch
Browse files Browse the repository at this point in the history
  • Loading branch information
AmintorDusko committed Sep 20, 2024
1 parent c30fccf commit a49a832
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests_lqcpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@ jobs:
git log -1 --format='%H'
git status
- name: Patching tests following deprecation (remove after v0.39)
if: inputs.lightning-version == 'stable' && inputs.pennylane-version != 'stable'
run: |
cd tests
grep -rl "default.qubit.legacy" . | xargs sed -i "s|default.qubit.legacy|default.qubit|g";
cd ..
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get -y -q install cmake gcc-$GCC_VERSION g++-$GCC_VERSION libopenblas-base libopenblas-dev
Expand Down Expand Up @@ -202,6 +195,13 @@ jobs:
git log -1 --format='%H'
git status
- name: Patching tests following deprecation (remove after v0.39)
if: inputs.lightning-version == 'stable' && inputs.pennylane-version != 'stable'
run: |
cd tests
grep -rl "default.qubit.legacy" . | xargs sed -i "s|default.qubit.legacy|default.qubit|g";
cd ..
- name: Run PennyLane-Lightning unit tests
run: |
DEVICENAME=`echo ${{ matrix.pl_backend }} | sed "s/_/./g"`
Expand Down

0 comments on commit a49a832

Please sign in to comment.