-
Notifications
You must be signed in to change notification settings - Fork 14
39 lines (37 loc) · 1.81 KB
/
squidasm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: SquidASM backend tests
on: [push, pull_request]
jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
timeout-minutes: 30 # if squidasm is not compatible, it might get stuck. Waiting any longer won't help!
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@master
with:
python-version: 3.8
- name: Install netqasm
run: make install-dev
- name: Install squidasm
run: pip install -e .[squidasm] --extra-index-url https://${{ secrets.NETSQUIDPYPI_USER }}:${{ secrets.NETSQUIDPYPI_PWD }}@pypi.netsquid.org
continue-on-error: true # Allow failure because squidasm's develop branch may not be up-to-date with the changes in NetQASM we're checking right now
- name: Run tests
run: make external-tests
continue-on-error: true # Allow failure because squidasm's develop branch may not be up-to-date with the changes in NetQASM we're checking right now
examples:
name: Run examples
runs-on: ubuntu-latest
timeout-minutes: 30 # if squidasm is not compatible, it might get stuck. Waiting any longer won't help!
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@master
with:
python-version: 3.8
- name: Install netqasm
run: make install-dev
- name: Install squidasm
run: pip install -e .[squidasm] --extra-index-url https://${{ secrets.NETSQUIDPYPI_USER }}:${{ secrets.NETSQUIDPYPI_PWD }}@pypi.netsquid.org
continue-on-error: true # Allow failure because squidasm's develop branch may not be up-to-date with the changes in NetQASM we're checking right now
- name: Run examples
run: make external-examples
continue-on-error: true # Allow failure because squidasm's develop branch may not be up-to-date with the changes in NetQASM we're checking right now