From fe81ebae687822a17a79d938ec78b11d83d187e9 Mon Sep 17 00:00:00 2001 From: Muhammed Efe Cetin Date: Fri, 15 Sep 2023 18:52:15 +0300 Subject: [PATCH] fix benchmark workflow --- .github/workflows/benchmark.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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