Add force_run_chain Notify #2862
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: | |
pull_request: | |
branches: [ main ] | |
# Cancel already running jobs | |
concurrency: | |
group: benchmark_run_${{ github.head_ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: 1 | |
jobs: | |
benchmarks: | |
runs-on: ubuntu-20.04 | |
name: Benchmarks | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
# PRs do not share caches, instead each PR initially pulls from the cache of the main branch for the first run. | |
# This workflow does not run on main, so to make use of a cache before this workflow has completed once on a PR, | |
# we need to manually recreate the key used by ubuntu-20.04 release builds. | |
shared-key: "ubuntu-20.04 - --release-build_check_and_upload" | |
save-if: false | |
- name: cache custom ubuntu packages | |
uses: actions/cache@v4 | |
with: | |
path: shotover-proxy/build/packages | |
key: ubuntu-20.04-packages | |
- name: Install ubuntu packages | |
run: shotover-proxy/build/install_ubuntu_packages.sh | |
- name: Run benchmarks | |
run: shotover-proxy/tests/scripts/bench_against_master.sh ${{ github.event.number }} | |
- name: Upload comment artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: comment_info | |
path: comment_info/ |