File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 15
15
changes :
16
16
- keyringctl
17
17
- libkeyringctl/*
18
- - test /*
18
+ - tests /*
19
19
- .gitlab-ci.yml
20
+ - Makefile
20
21
21
22
test :
22
23
stage : test
29
30
changes :
30
31
- keyringctl
31
32
- libkeyringctl/*
32
- - test /*
33
+ - tests /*
33
34
- .gitlab-ci.yml
35
+ - Makefile
36
+ artifacts :
37
+ when : always
38
+ reports :
39
+ junit : build/junit-report.xml
40
+ cobertura : build/coverage.xml
34
41
35
42
build_install :
36
43
stage : test
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ KEYRING_FILES=$(wildcard build/*.gpg) $(wildcard build/*-revoked) $(wildcard bui
5
5
all : build
6
6
7
7
lint :
8
- black --check --diff keyringctl libkeyringctl
8
+ black --check --diff keyringctl libkeyringctl tests
9
9
isort --diff .
10
- flake8 keyringctl libkeyringctl
11
- mypy --install-types --non-interactive keyringctl libkeyringctl
10
+ flake8 keyringctl libkeyringctl tests
11
+ mypy --install-types --non-interactive keyringctl libkeyringctl tests
12
12
13
13
fmt :
14
14
black .
17
17
test :
18
18
coverage run
19
19
coverage report
20
+ coverage xml -o build/coverage.xml
20
21
21
22
build :
22
23
./keyringctl -v build
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ show_missing = true
27
27
28
28
[tool .coverage .run ]
29
29
branch = true
30
- command_line = " -m pytest -vv tests/"
30
+ command_line = " -m pytest --junit-xml=build/junit-report.xml - vv tests/"
31
31
omit = [" tests/*" , " .tox/*" ]
32
32
33
33
[tool .isort ]
You can’t perform that action at this time.
0 commit comments