Skip to content

Commit 9bc3a4a

Browse files
committed
create test-folder only where necessary
1 parent f236d2a commit 9bc3a4a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ default:
55
- python -m pip install -U pip
66
- echo ===== install tox =====
77
- pip install tox
8-
- echo ===== create folder for artifacts =====
9-
- mkdir test-reports
108

119
stages:
1210
- pytest
@@ -24,6 +22,8 @@ cache:
2422
pytest:
2523
stage: pytest
2624
script:
25+
- echo ===== create folder for artifacts =====
26+
- mkdir test-reports
2727
- tox -e py
2828
artifacts:
2929
when: always
@@ -53,6 +53,8 @@ pytest-main:
5353
# run test using directly the pytest main branch
5454
stage: pytest
5555
script:
56+
- echo ===== create folder for artifacts =====
57+
- mkdir test-reports
5658
- tox -e pytest-main
5759
artifacts:
5860
when: always

0 commit comments

Comments
 (0)