Skip to content

Merge pull request #17 from marvin-j97/patch-1 #28

Merge pull request #17 from marvin-j97/patch-1

Merge pull request #17 from marvin-j97/patch-1 #28

Workflow file for this run

name: Benchmarks
on: [push]
jobs:
benchmark:
services:
postgres:
image: postgres
env:
POSTGRES_DB: bench
POSTGRES_USER: bencher
POSTGRES_PASSWORD: password
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: hecrj/setup-rust-action@v1
- name: Build benchmarks
run: |
cargo bench -p benchmarks --all-features --no-run
- name: Run benchmarks
run: |
cargo bench -p benchmarks --all-features