-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e540a3a
commit 81e0ec8
Showing
1 changed file
with
0 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,49 +54,3 @@ jobs: | |
uses: codecov/[email protected] | ||
with: | ||
file: ./coverage.xml | ||
|
||
integration-tests: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt install ocl-icd-opencl-dev opencl-headers | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
git clone https://github.com/PennyLaneAI/catalyst.git | ||
git clone https://github.com/unitaryfund/qrack.git | ||
cd qrack | ||
mkdir _build | ||
cd _build | ||
cmake .. | ||
sudo make install | ||
cd ../.. | ||
pip install wheel pytest pytest-cov pytest-mock flaky --upgrade | ||
- name: Install Plugin | ||
run: | | ||
python setup.py bdist_wheel | ||
pip install dist/pennylane*.whl | ||
- name: Run tests | ||
run: | | ||
pl-device-test --device=qrack.simulator --tb=short --skip-ops --shots=None | ||
pl-device-test --device=qrack.simulator --tb=short --skip-ops --shots=20000 | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
file: ./coverage.xml |