Add controlled emission HMM. #237
Workflow file for this run
This file contains hidden or 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: Run benchmarks | |
| on: | |
| pull_request: | |
| types: [labeled, opened, synchronize, reopened] | |
| # Only trigger the benchmark job when you add `run benchmark` label to the PR | |
| jobs: | |
| Benchmark: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| if: contains(github.event.pull_request.labels.*.name, 'run benchmark') | |
| env: | |
| JULIA_NUM_THREADS: auto | |
| OPENBLAS_NUM_THREADS: "1" | |
| steps: | |
| - uses: MilesCranmer/AirspeedVelocity.jl@action-v1 | |
| with: | |
| julia-version: "1" | |
| tune: "true" | |
| # Use the wrapper script so both benchmarked revisions dev the | |
| # PR-head version of libs/HMMBenchmark. See benchmark/ci_benchmarks.jl. | |
| script: benchmark/ci_benchmarks.jl | |
| # benchmarks.jl uses StableRNGs directly; benchpkg's tmp_env only | |
| # includes BenchmarkTools/JSON3/Pkg/TOML by default, so add it here. | |
| extra-pkgs: StableRNGs |