-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gotestsum can't properly process benchmark results due to a go toolchain bug. Remove the postprocessing, since we don't benefit as much now that we don't use Semaphore CI anymore (which had nice visualisation for JUnit output). See gotestyourself/gotestsum#332 Signed-off-by: Lorenz Bauer <[email protected]>
- Loading branch information
Showing
1 changed file
with
2 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,12 +122,11 @@ jobs: | |
with: | ||
go-version: '${{ env.prev_go_version }}' | ||
|
||
- run: go install gotest.tools/[email protected] | ||
- run: sudo pip3 install https://github.com/amluto/virtme/archive/beb85146cd91de37ae455eccb6ab67c393e6e290.zip | ||
- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends qemu-system-x86 | ||
|
||
- name: Test | ||
run: gotestsum --raw-command --ignore-non-json-output-lines --junitfile junit.xml -- ./run-tests.sh $CI_MAX_KERNEL_VERSION -short -count 1 -bench . -benchtime=1x -json ./... | ||
run: ./run-tests.sh $CI_MAX_KERNEL_VERSION -short -count 1 -bench . -benchtime=1x -v ./... | ||
|
||
- name: Upload Test Results | ||
if: always() | ||
|
@@ -154,16 +153,8 @@ jobs: | |
with: | ||
go-version: '${{ env.prev_go_version }}' | ||
|
||
- run: go install gotest.tools/[email protected] | ||
- run: sudo pip3 install https://github.com/amluto/virtme/archive/beb85146cd91de37ae455eccb6ab67c393e6e290.zip | ||
- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends qemu-system-x86 | ||
|
||
- name: Test | ||
run: gotestsum --raw-command --ignore-non-json-output-lines --junitfile junit.xml -- ./run-tests.sh $KERNEL_VERSION -short -count 1 -bench . -benchtime=1x -json ./... | ||
|
||
- name: Upload Test Results | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Test Results (${{ matrix.version }}) | ||
path: junit.xml | ||
run: ./run-tests.sh $KERNEL_VERSION -short -count 1 -bench . -benchtime=1x -v ./... |