File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ global_job_config:
15
15
- curl -LO https://github.com/renderedtext/when/releases/download/v0.0.3-alpha/when
16
16
- sudo mv when /usr/local/bin/when
17
17
- sudo chmod +x /usr/local/bin/when
18
+ - curl -s -L --fail --retry 5 https://github.com/semaphoreci/test-results/releases/download/v0.0.5/test-results_Linux_x86_64.tar.gz -o /tmp/test-results.tar.gz
19
+ - cd /tmp && tar -zxf test-results.tar.gz && chmod +x test-results && sudo mv test-results /usr/local/bin/ && cd -
18
20
- checkout
19
21
- go get ./...
20
22
@@ -76,6 +78,10 @@ blocks:
76
78
commands :
77
79
- make build
78
80
- make e2e TEST=$TEST_FILE
81
+ epilogue :
82
+ always :
83
+ commands :
84
+ - test-results publish /tmp/junit.xml
79
85
80
86
promotions :
81
87
- name : " Release on Github"
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ dev.run.change-in:
28
28
make build && ./build/cli evaluate change-in --input " test/fixtures/hello.yml" --output " /tmp/hello.yml.compiled" --logs " /tmp/logs.jsonl"
29
29
30
30
test :
31
- gotestsum --format short-verbose
31
+ gotestsum --format short-verbose --junitfile /tmp/junit.xml
32
32
33
33
e2e : build
34
34
ruby $(TEST )
You can’t perform that action at this time.
0 commit comments