Skip to content

Enables new test results summary in Semaphore #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ global_job_config:
- export GO111MODULE=on
- export GOPATH=~/go
- 'export PATH=/home/semaphore/go/bin:$PATH'
- curl -LO https://github.com/renderedtext/when/releases/download/v0.0.3-alpha/when
- sudo mv when /usr/local/bin/when
- sudo chmod +x /usr/local/bin/when
- checkout
- go get ./...

Expand Down Expand Up @@ -76,6 +73,10 @@ blocks:
commands:
- make build
- make e2e TEST=$TEST_FILE
epilogue:
always:
commands:
- test-results publish /tmp/junit.xml

promotions:
- name: "Release on Github"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dev.run.change-in:
make build && ./build/cli evaluate change-in --input "test/fixtures/hello.yml" --output "/tmp/hello.yml.compiled" --logs "/tmp/logs.jsonl"

test:
gotestsum --format short-verbose
gotestsum --format short-verbose --junitfile /tmp/junit.xml

e2e: build
ruby $(TEST)
Expand Down