Skip to content

Commit 66ebbc2

Browse files
committed
Update .gitlab-ci.yml file
1 parent a99db97 commit 66ebbc2

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.gitlab-ci.yml

+3-10
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ build:
1717
- Cargo.lock
1818
paths:
1919
- target/
20-
artifacts:
21-
paths:
22-
- target/debug/
2320

2421
test:
2522
stage: test
@@ -62,9 +59,6 @@ publish:
6259
script: cargo publish
6360
rules:
6461
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TITLE =~ /\d\.\d\.\d/
65-
artifacts:
66-
paths:
67-
- target/release/
6862
cache:
6963
- key:
7064
files:
@@ -85,9 +79,6 @@ benchmark:
8579
- Cargo.lock
8680
paths:
8781
- target/
88-
artifacts:
89-
paths:
90-
- criterion/
9182

9283
coverage:
9384
stage: benchmark
@@ -104,6 +95,8 @@ coverage:
10495
coverage_report:
10596
coverage_format: cobertura
10697
path: cobertura.xml
98+
paths:
99+
- cobertura.xml
107100

108101
licenses:
109102
stage: benchmark
@@ -122,12 +115,12 @@ updates:
122115
- cargo outdated > updates.txt
123116
- cat updates.txt
124117
- "[[ $(wc -l <updates.txt) != 2 ]] && exit 1"
118+
allow_failure: true
125119
rules:
126120
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
127121
artifacts:
128122
paths:
129123
- updates.txt
130-
allow_failure: true
131124

132125
release:
133126
stage: release

0 commit comments

Comments
 (0)