-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (38 loc) · 959 Bytes
/
integration.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
40
41
42
43
44
45
46
47
name: Integration
on:
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: "1.22.x"
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install setuptools
shell: bash
run: pip install setuptools
- name: Install packages required for tests
shell: bash
run: cd tests && python setup.py develop
- name: Run integration tests
run: py.test -v --tb=short
lint:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Run linters
uses: PiwikPRO/actions/python/lint@master
with:
use-black: true
use-flake: true
use-isort: true