diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 69b663407..0bfde7f4d 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -138,11 +138,22 @@ jobs: run: | set -o pipefail for d in */ ; do + echo "Benchmarking ${d}..." cd "$d" go test ./... -benchmem -run=^$ -bench . | tee -a ../output.txt cd .. done shell: bash + env: + MSSQL_DATABASE: master + MSSQL_USERNAME: sa + MSSQL_PASSWORD: MsSql!1234 + MYSQL_USERNAME: username + MYSQL_PASSWORD: password + MYSQL_DATABASE: fiber + POSTGRES_DATABASE: fiber + POSTGRES_USERNAME: username + POSTGRES_PASSWORD: "pass#w%rd" - name: Get Previous Benchmark Results uses: actions/cache@v3