File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 26
26
script :
27
27
- pip install poetry==${POETRY_VERSION}
28
28
- poetry install
29
- - poetry run tox -e py
29
+ - poetry run tox -e coverage
30
30
artifacts :
31
31
reports :
32
32
coverage_report :
Original file line number Diff line number Diff line change 1
1
[tox]
2
- envlist =
2
+ requires =
3
+ tox>=4.2
4
+ env_list =
3
5
py311
4
6
py310
5
7
py39
6
8
py38
7
- isolated_build = true
8
- skipsdist = true
9
+ no_package = true
9
10
10
11
[testenv]
11
- passenv =
12
+ commands =
13
+ pytest tests/ {posargs}
14
+ allowlist_externals =
15
+ pytest
16
+ terraform
17
+
18
+ [testenv:coverage]
19
+ pass_env =
12
20
COVERAGE_FILE
13
21
commands =
14
22
coverage run --include ' src/**' -m pytest tests/ {posargs}
@@ -28,6 +36,6 @@ commands =
28
36
git diff --exit-code
29
37
allowlist_externals =
30
38
black
31
- git
32
39
flake8
40
+ git
33
41
md_toc
You can’t perform that action at this time.
0 commit comments