Skip to content

ci: Fix benchmark filters #20

ci: Fix benchmark filters

ci: Fix benchmark filters #20

Workflow file for this run

name: Benchmark CI
on:
push:
branches:
- master
- ci-fix
workflow_dispatch:
jobs:
# Job to run change detection
changes:
runs-on: core
permissions:
pull-requests: read
outputs:
run-ci: ${{ steps.filter.outputs.run-ci }}
steps:
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
run-ci:
- 'rusk/**/*'
- 'node/**/*'
predicate-quantifier: 'some'
benchmark:
needs: changes
if: needs.changes.outputs.run-ci == 'true'
name: Run Benchmarks
runs-on: core
steps:
- uses: actions/checkout@v4
- uses: dsherret/rust-toolchain-file@v1
- run: make bench
- name: Upload Benchmark Results
uses: actions/upload-artifact@v4
with:
name: rusk-benchmark-results
path: ./target/criterion
retention-days: 14