-
Notifications
You must be signed in to change notification settings - Fork 16
48 lines (38 loc) · 970 Bytes
/
python-3.7.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
name: python-3.7
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Cache VirtualEnv
id: cache-venv
uses: actions/cache@v1
with:
path: .venv
key: ${{ runner.os }}-${{ hashFiles('*.txt') }}-python3.7
- uses: actions/checkout@v1
name: "Checkout Code"
- id: bento
name: Bento
uses: returntocorp/bento-action@v1
with:
acceptTermsWithEmail: gabriel@nacaolivre.org
- name: Unit Tests
run: make unit
- name: Functional Tests
run: make integration
- name: Randomize All Tests
run: make tests
- name: "Upload coverage results to codecov.io"
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml # optional