This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
/
config.yml
85 lines (76 loc) · 1.48 KB
/
config.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
version: 2.1
jobs:
quality: &test-template
docker:
- image: python:3.8
environment:
PIP_PREFER_BINARY: true
PIP_PROGRESS_BAR: "off"
TOXENV: style
steps:
- checkout
- run: python -m pip install tox
- run: tox
py38-fast:
<<: *test-template
environment:
TOXENV: py38-fast
py38-online:
<<: *test-template
environment:
TOXENV: py38-online
py38-slow:
<<: *test-template
environment:
TOXENV: py38-slow
py38-images:
<<: *test-template
environment:
TOXENV: py38-images
py38-coverage:
<<: *test-template
environment:
TOXENV: py38-coverage
steps:
- checkout
- run: python -m pip install tox
- run: tox
- run: python -m pip install codecov && codecov
py39:
<<: *test-template
docker:
- image: python:3.9
environment:
TOXENV: py39
py310:
<<: *test-template
docker:
- image: python:3.10
environment:
TOXENV: py310
workflows:
version: 2
build_and_test:
jobs:
- quality
- py38-fast:
requires:
- quality
- py38-online:
requires:
- quality
- py38-slow:
requires:
- quality
- py38-images:
requires:
- quality
- py38-coverage:
requires:
- quality
- py39:
requires:
- quality
- py310:
requires:
- quality