diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d87a776ea..924c07c97 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -94,6 +94,18 @@ jobs: if: github.event_name == 'push' # this is limited to selected branches at the beginning of this file run: go test -coverprofile=unit.covdata.txt -vet=off -timeout=15m -race ./... # note that -race can easily make the crypto stuff 10x slower + job_go_bench: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Set up Go environment + uses: actions/setup-go@v4 + with: + go-version: '1.20' + - name: Run Go bench + run: go test -run='^$' -bench=. ./... + job_compose_test: runs-on: [self-hosted, ci2-1] steps: