Skip to content

Commit

Permalink
Run benches in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb authored and idubrov committed Mar 27, 2024
1 parent 5671977 commit b06cb5a
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
on:
push:
branches: [ "main" ]
branches:
- main
- actions-*
pull_request:
branches: [ "main" ]

Expand All @@ -24,6 +26,23 @@ jobs:
- name: Run cargo build
run: cargo build --verbose

bench:
name: Bench
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true

- name: Run cargo bench
run: cargo +nightly bench --verbose

test:
name: Test
runs-on: ubuntu-latest
Expand Down

0 comments on commit b06cb5a

Please sign in to comment.