Skip to content

Commit

Permalink
CI: execute benchmarks once to prevent bitrot
Browse files Browse the repository at this point in the history
Execute benchmarks once on CI, to prevent bitrot from setting in.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
  • Loading branch information
lmb committed Dec 1, 2023
1 parent 2b651a6 commit 98affdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
- 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 -json ./...
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 ./...

- name: Upload Test Results
if: always()
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
- 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 -json ./...
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()
Expand Down

0 comments on commit 98affdd

Please sign in to comment.