We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1a374a commit d6005ebCopy full SHA for d6005eb
.gitlab-ci.yml
@@ -6,12 +6,18 @@ before_script:
6
- pip show myapp
7
8
run tests:
9
- only:
10
- - master
11
- tags:
12
- - python3
13
- - tests
14
- script:
+ only:
+ - master
+ tags:
+ - python3
+ - tests
+ script:
15
- cd /workspace
16
- python -m pytest
17
- coverage: '/TOTAL.*\s+(\d+%)$/'
+ artifacts:
18
+ name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
19
+ paths:
20
+ - /workspace/coverage/
21
+ when: on_success
22
+ expire_in: 1 week
23
+ coverage: '/TOTAL.*\s+(\d+%)$/'
0 commit comments