-
Notifications
You must be signed in to change notification settings - Fork 10
88 lines (71 loc) · 2.28 KB
/
coverage.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# This workflow runs tests and reports code coverage.
# We need a workflow name to be able to schedule it from Github UI
name: TestCoverage
on:
# Triggers the workflow on push to main
push:
branches:
- main
# Triggers the workflow on any PR
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# The job ID has to match repo settings for PR required checks
TestCoverage:
runs-on: ubuntu-latest
# Run jobs for a couple of Python versions.
strategy:
matrix:
python: ["3.8", "3.9", "3.10"]
name: TestCoverage - Python ${{ matrix.python }}
steps:
- uses: actions/checkout@v2
- name: Get orquestra-quantum
uses: actions/checkout@v2
with:
repository: zapatacomputing/orquestra-quantum
path: orquestra-quantum
- name: Get orquestra-opt
uses: actions/checkout@v2
with:
repository: zapatacomputing/orquestra-opt
path: orquestra-opt
- name: Get orquestra-vqa
uses: actions/checkout@v2
with:
repository: zapatacomputing/orquestra-vqa
path: orquestra-vqa
- name: Get orquestra-cirq
uses: actions/checkout@v2
with:
repository: zapatacomputing/orquestra-cirq
path: orquestra-cirq
- name: Get orquestra-qiskit
uses: actions/checkout@v2
with:
repository: zapatacomputing/orquestra-qiskit
path: orquestra-qiskit
- name: Get orquestra-qulacs
uses: actions/checkout@v2
with:
repository: zapatacomputing/orquestra-qulacs
path: orquestra-qulacs
- name: Get orquestra-braket
uses: actions/checkout@v2
with:
repository: zapatacomputing/orquestra-braket
path: orquestra-braket
- name: Get orquestra-forest
uses: actions/checkout@v2
with:
repository: zapatacomputing/orquestra-forest
path: orquestra-forest
- name: Get orqviz
uses: actions/checkout@v2
with:
repository: zapatacomputing/orqviz
path: orqviz
- uses: ./subtrees/z_quantum_actions/actions/coverage
env:
ZAPATA_IBMQ_API_TOKEN: ${{ secrets.ZAPATA_IBMQ_API_TOKEN }}