Skip to content

Bump thousand_island from 1.0.0 to 1.1.0 #437

Bump thousand_island from 1.0.0 to 1.1.0

Bump thousand_island from 1.0.0 to 1.1.0 #437

Workflow file for this run

name: Benchmark
on:
pull_request:
types: [ opened, reopened, synchronize, labeled ]
env:
MIX_ENV: test
jobs:
benchmark:
if: contains(github.event.pull_request.labels.*.name, 'benchmark')
runs-on: ubuntu-latest
steps:
- name: Install nghttp2
run: sudo apt-get install nghttp2
- name: Checkout code
uses: actions/checkout@v4
with:
repository: mtrudel/benchmark
- name: Setup Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: 1.14.x
otp-version: 25.1
- name: Install mix dependencies
run: mix deps.get
- name: Compile code
run: mix compile
- name: Run benchmark against base branch
run: mix benchmark bandit@${{ github.event.pull_request.base.repo.clone_url }}@${{ github.event.pull_request.base.ref }} bandit@${{ github.event.pull_request.head.repo.clone_url }}@${{ github.event.pull_request.head.sha }}
- name: Upload results file
uses: actions/upload-artifact@v3
with:
name: http-benchmark.csv
path: http-benchmark.csv
- name: Record summary output
id: summary
run: cat http-summary.md >> $GITHUB_STEP_SUMMARY