-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (34 loc) · 1.19 KB
/
coverage_base.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
# This is a basic workflow to help you get started with Actions
name: TestCoverage
# Triggers the workflow on push or pull to dev
on:
push:
branches:
- main
pull_request:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# This workflow contains a single job called "build"
build:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
# ------------------------------------------------------------------------
# Only use ssh when a second private repo needs to be installed....
# The current repo MUST have a secrets.SSH_PRIVATE_KEY defined in github.
# ------------------------------------------------------------------------
# - uses: ./subtrees/z_quantum_actions/actions/ssh_setup
# with:
# ssh_key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Get z-quantum-core
uses: actions/checkout@v2
with:
repository: zapatacomputing/z-quantum-core
path: z-quantum-core
- uses: ./subtrees/z_quantum_actions/actions/coverage
with:
codecov_secret: ${{ secrets.CODECOV_TOKEN }}