fix: return SN in properties for philips WSI #467
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmarks | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request_target: | |
branches: | |
- main | |
- develop | |
paths: | |
- '**.rs' | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_VERSION: 1.81.0 | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
benchmarks: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: make install-deps-ubuntu-openslide4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: ${{ env.RUST_VERSION }} | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
key: ubuntu-benchmark | |
- name: Run cargo bench | |
run: cargo bench --workspace | tee bench-output.txt | |
- name: Store benchmark result | |
uses: rhysd/github-action-benchmark@v1 | |
with: | |
name: openslide-rs Benchmark | |
tool: 'cargo' | |
save-data-file: ${{ github.event_name == 'push' }} | |
output-file-path: bench-output.txt | |
benchmark-data-dir-path: '.' | |
max-items-in-chart: 30 | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
auto-push: ${{ github.event_name == 'push' }} | |
alert-threshold: '200%' | |
comment-on-alert: true | |
fail-on-alert: true | |
comment-always: true | |
summary-always: true | |
alert-comment-cc-users: '@AzHicham' |