Skip to content

Commit

Permalink
Remove SKIP_COMPILATION flag from dev versions in test
Browse files Browse the repository at this point in the history
  • Loading branch information
rauletorresc committed Aug 7, 2024
1 parent 571d765 commit 1ab00ce
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/tests_lkcpu_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,19 +205,16 @@ jobs:

- name: Get required Python packages
run: |
set -x
WHEEL_NAME=$(cat ${{ github.workspace }}/${{ matrix.pl_backend }}-${{ matrix.exec_model }}_name.txt)
mv ${{ github.workspace }}/wheel_${{ matrix.pl_backend }}-${{ matrix.exec_model }}.whl ${{ github.workspace }}/$WHEEL_NAME
cd main
# Clean all editable mode installations
make clean && python -m pip uninstall pennylane-lightning pennylane-lightning-kokkos
python -m pip install -r requirements-dev.txt
python -m pip install openfermionpyscf
if [ '${{ inputs.lightning-version }}' != 'stable' ]; then
SKIP_COMPILATION=True python -m pip install . -vv
python -m pip install . -vv
fi
python -m pip install ${{ github.workspace }}/$WHEEL_NAME --no-deps
ls
ls build/lib.*/pennylane_lightning
- name: Checkout PennyLane for release build
if: inputs.pennylane-version == 'release'
Expand Down Expand Up @@ -248,9 +245,8 @@ jobs:
- name: Run PennyLane-Lightning unit tests
run: |
set -x
cd main/
ls
ls build/lib.*/pennylane_lightning/
DEVICENAME=`echo ${{ matrix.pl_backend }} | sed "s/_/./g"`
PL_DEVICE=${DEVICENAME} python -m pytest tests/ $COVERAGE_FLAGS --splits 7 --group ${{ matrix.group }} \
--store-durations --durations-path='.github/workflows/python_lightning_kokkos_test_durations.json' --splitting-algorithm=least_duration
Expand Down

0 comments on commit 1ab00ce

Please sign in to comment.