Skip to content

Commit

Permalink
fix benchmark workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
efectn committed Sep 15, 2023
1 parent db1dd2b commit fe81eba
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe81eba

Please sign in to comment.