-
-
Notifications
You must be signed in to change notification settings - Fork 50
39 lines (39 loc) · 973 Bytes
/
bench.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
on:
pull_request:
paths:
- 'packages/**'
- '.github/workflows/bench.yaml'
name: Benchmark
jobs:
storageBenchmark:
name: Storage Benchmarks
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
mysql:
image: mysql:8
env:
MYSQL_DATABASE: test
MYSQL_USER: test
MYSQL_PASSWORD: test
MYSQL_ROOT_PASSWORD: root
ports:
- 3306:3306
env:
POSTGRES_URL: postgres://postgres:postgres@localhost/postgres
MYSQL_URL: mysql://test:test@localhost/test
REDIS_URL: redis://127.0.0.1/
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: boa-dev/criterion-compare-action@v3
with:
branchName: ${{ github.base_ref }}