Skip to content

Commit

Permalink
Fix benchmarker workflow.
Browse files Browse the repository at this point in the history
Fix benchmarker workflow.
  • Loading branch information
efectn committed Apr 23, 2022
1 parent d3c5fa4 commit a8dc209
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,19 @@ jobs:
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
services:
postgres:
image: 'postgres:latest'
ports:
- '5432:5432'
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: test
steps:
- name: Fetch Repository
uses: actions/checkout@v3
- name: Run Benchmark
run: docker-compose up
- name: Build Benchmarker
run: go build main.go
- name: Run Benchmarker
run: ./main -source="host=localhost user=postgres password=postgres dbname=test sslmode=disable" -orm=all -multi=1 -debug=false

0 comments on commit a8dc209

Please sign in to comment.