Skip to content

Commit

Permalink
Split up device test cases for wheel build (#59)
Browse files Browse the repository at this point in the history
* skip hanging test

* include hanging test separately

* adjust comment
  • Loading branch information
antalszava committed Feb 5, 2021
1 parent 04369fd commit 451f2df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ env:

CIBW_TEST_REQUIRES: numpy scipy pytest pytest-cov pytest-mock flaky

# Note: breaking up tests so that no test cases hang on Windows, to be reverted
CIBW_TEST_COMMAND: |
pl-device-test --device=lightning.qubit --skip-ops -x --tb=short --no-flaky-report
pl-device-test --device=lightning.qubit --skip-ops -x --tb=short --no-flaky-report -k "not test_four_qubit_random_circuit"
pl-device-test --device=lightning.qubit --skip-ops -x --tb=short --no-flaky-report -k "test_four_qubit_random_circuit"
jobs:
Expand Down

0 comments on commit 451f2df

Please sign in to comment.