From 3f9c5804e9423187ea1c334b279be519fa7b9a53 Mon Sep 17 00:00:00 2001 From: drunkendog Date: Sat, 16 Sep 2023 21:14:31 +0100 Subject: [PATCH] Add .gitea/workflows/benchmark.yaml --- .gitea/workflows/benchmark.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/benchmark.yaml diff --git a/.gitea/workflows/benchmark.yaml b/.gitea/workflows/benchmark.yaml new file mode 100644 index 0000000..3b9ea3a --- /dev/null +++ b/.gitea/workflows/benchmark.yaml @@ -0,0 +1,19 @@ +name: Benchmarks +on: [push, pull_request] +jobs: + Run-Benchmarks: + runs-on: ubuntu-22.04 + env: + DEBIAN_FRONTEND: noninteractive + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - run: cd ${{ github.workspace }} + - name: Run benchmark + run: | + cd benchmark/ + bash benchmark.sh python3 ../run-tests.py + - name: Run baseline benchmark + run: | + cd benchmark/ + bash benchmark.sh python3 ../run-tests.py \ No newline at end of file