From c0cabbf2b5f98588f76b3254e01aff40ac413924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Skrzy=C5=84ski?= Date: Thu, 5 Jan 2023 19:58:41 +0100 Subject: [PATCH] Add results processing --- .github/workflows/process-results.yml | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/process-results.yml diff --git a/.github/workflows/process-results.yml b/.github/workflows/process-results.yml new file mode 100644 index 00000000..dcc6d94e --- /dev/null +++ b/.github/workflows/process-results.yml @@ -0,0 +1,37 @@ +name: Process benchmark results + +on: push + +jobs: + run-benchmark-monitor: + runs-on: ubuntu-latest + steps: + - name: Checkout processing script + uses: actions/checkout@v3 + with: + repository: cz4rs/benchmark_monitor + - name: Checkout + uses: actions/checkout@v3 + with: + path: benchmark-results + + - name: Process available benchmark results + run: |- + python3 -m venv env + source env/bin/activate + pip install wheel + pip install -r requirements.txt + python benchmark_monitor.py -d ./benchmark-results -o output + + - name: Generate nojekyll file + working-directory: output + run: touch .nojekyll + + - name: Deploy + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: output + branch: deploy-benchmarks + clean: true + single-commit: true +