We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c5fa4 commit a8dc209Copy full SHA for a8dc209
.github/workflows/build.yaml
@@ -6,8 +6,19 @@ jobs:
6
matrix:
7
platform: [ubuntu-latest]
8
runs-on: ${{ matrix.platform }}
9
+ services:
10
+ postgres:
11
+ image: 'postgres:latest'
12
+ ports:
13
+ - '5432:5432'
14
+ env:
15
+ POSTGRES_USER: postgres
16
+ POSTGRES_PASSWORD: postgres
17
+ POSTGRES_DB: test
18
steps:
19
- name: Fetch Repository
20
uses: actions/checkout@v3
- - name: Run Benchmark
- run: docker-compose up
21
+ - name: Build Benchmarker
22
+ run: go build main.go
23
+ - name: Run Benchmarker
24
+ run: ./main -source="host=localhost user=postgres password=postgres dbname=test sslmode=disable" -orm=all -multi=1 -debug=false
0 commit comments