Skip to content

Commit

Permalink
ci: Remove rarely used benchmark jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Stranger6667 committed Jan 28, 2021
1 parent 45199fc commit 6d770d0
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,34 +150,3 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets --all-features -- -D warnings

benchmark:
name: Benchmark
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[bench]') || contains(github.event.head_commit.message, '[benchmark]')"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: bench
args: jsonschema-rs # Run the benchmarks only for the `jsonschema` package

benchmark-all:
name: Benchmark All
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, '[bench-all]') || contains(github.event.head_commit.message, '[benchmark-all]')"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: bench

0 comments on commit 6d770d0

Please sign in to comment.