Add benchmarks base

This commit is contained in:
Jake Barnby
2022-10-31 19:46:20 +13:00
parent 1b0abf4643
commit f52e4c3e63
18 changed files with 1761 additions and 98 deletions
+20
View File
@@ -0,0 +1,20 @@
name: "Benchmark"
on: [pull_request]
jobs:
benchmark:
name: Benchmark
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2
- run: git checkout HEAD^2
- name: Run benchmark against baseline
run: docker run --rm -v $PWD:/app composer sh -c \
"composer install --profile --ignore-platform-reqs && composer benchmark"