Skip to content

Commit 848ce63

Browse files
committed
test: combine benchmark runs into one step
1 parent fa423fd commit 848ce63

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
115115
uses: bencherdev/bencher@main
116116

117-
- name: Run archive benchmarks
117+
- name: Run benchmarks
118118
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
119119
env:
120120
BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
@@ -124,18 +124,8 @@ jobs:
124124
cargo bench --bench archive --features blocking -- --output-format criterion | \
125125
bencher run \
126126
--ci-number '${{ env.PR_NUMBER }}' \
127-
--github-actions "${{ secrets.GITHUB_TOKEN }}" \
128-
--err
129-
130-
- name: Run embedded benchmarks
131-
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
132-
env:
133-
BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
134-
BENCHER_PROJECT: theseus-rs-postgresql-embedded
135-
BENCHER_ADAPTER: rust_criterion
136-
run: |
127+
--github-actions '${{ secrets.GITHUB_TOKEN }}'
137128
cargo bench --bench embedded --features blocking -- --output-format criterion | \
138129
bencher run \
139130
--ci-number '${{ env.PR_NUMBER }}' \
140-
--github-actions "${{ secrets.GITHUB_TOKEN }}" \
141-
--err
131+
--github-actions '${{ secrets.GITHUB_TOKEN }}'

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
[![License](https://img.shields.io/crates/l/postgresql_embedded)](https://github.com/theseus-rs/postgresql-embedded#license)
1111
[![Semantic Versioning](https://img.shields.io/badge/%E2%9A%99%EF%B8%8F_SemVer-2.0.0-blue)](https://semver.org/spec/v2.0.0.html)
1212

13-
14-
15-
1613
Install and run a PostgreSQL database locally on Linux, MacOS or Windows. PostgreSQL can be
1714
bundled with your application, or downloaded on demand.
1815

0 commit comments

Comments
 (0)