@@ -7,26 +7,29 @@ setup() {
7
7
echo " hello" > /tmp/unique-file-$SEMAPHORE_JOB_ID
8
8
}
9
9
10
- @test " artifacts - uploading to proect level" {
10
+ @test " artifacts - uploading to project level" {
11
11
run artifact push project /tmp/unique-file-$SEMAPHORE_JOB_ID
12
12
assert_success
13
+ assert_output --regexp " Pushed [0-9]+ files?\. Total of .+"
13
14
14
15
15
16
run artifact yank project unique-file-$SEMAPHORE_JOB_ID
16
17
assert_success
17
18
}
18
19
19
- @test " artifacts - uploading to workflows level" {
20
- run artifact push workflows /tmp/unique-file-$SEMAPHORE_JOB_ID
20
+ @test " artifacts - uploading to workflow level" {
21
+ run artifact push workflow /tmp/unique-file-$SEMAPHORE_JOB_ID
21
22
assert_success
23
+ assert_output --regexp " Pushed [0-9]+ files?\. Total of .+"
22
24
23
- run artifact yank workflows unique-file-$SEMAPHORE_JOB_ID
25
+ run artifact yank workflow unique-file-$SEMAPHORE_JOB_ID
24
26
assert_success
25
27
}
26
28
27
29
@test " artifacts - uploading to job level" {
28
30
run artifact push job /tmp/unique-file-$SEMAPHORE_JOB_ID
29
31
assert_success
32
+ assert_output --regexp " Pushed [0-9]+ files?\. Total of .+"
30
33
31
34
run artifact yank job unique-file-$SEMAPHORE_JOB_ID
32
35
assert_success
@@ -35,6 +38,7 @@ setup() {
35
38
@test " artifacts - pulling should display size summary" {
36
39
run artifact push job /tmp/unique-file-$SEMAPHORE_JOB_ID
37
40
assert_success
41
+ assert_output --regexp " Pushed [0-9]+ files?\. Total of .+"
38
42
39
43
run artifact pull job unique-file-$SEMAPHORE_JOB_ID
40
44
assert_success
0 commit comments