forked from regen-network/regen-ledger
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (40 loc) · 962 Bytes
/
test.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
name: Tests
on:
pull_request:
push:
branches:
- master
jobs:
tests:
name: Unit tests
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- name: Install Go
uses: actions/[email protected]
with:
go-version: 1.15
- name: Checkout code
uses: actions/checkout@v2
- name: run tests
run: make test
- name: run experimental tests
run: EXPERIMENTAL=true make test
code_cov:
name: Cover report
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/[email protected]
with:
go-version: 1.15
- name: Checkout code
uses: actions/checkout@v2
- name: run test cover
run: make test-cover
- name: run experimental test cover
run: EXPERIMENTAL=true make test-cover
- name: Upload codecov report
uses: codecov/codecov-action@v1
with:
file: coverage.txt