From a45a78156ad14abee04784717b523b4df41d1a6e Mon Sep 17 00:00:00 2001 From: Mads Ynddal Date: Sat, 23 Nov 2024 22:22:38 +0100 Subject: [PATCH] Add benchmarking to CI --- .github/workflows/pr-test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 589caa429..a411d5a31 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -50,6 +50,13 @@ jobs: TEST_NO_UI: 1 run: | python -m pytest tests/ -n auto -v + - name: Run PyTest Benchmark + env: + PYTEST_SECRETS_KEY: ${{ secrets.PYTEST_SECRETS_KEY }} + TEST_VERBOSE_IMAGES: 0 + TEST_NO_UI: 1 + run: | + python -m pytest tests/test_benchmark.py --benchmark-enable --benchmark-min-rounds=10 - name: Build wheel run: | echo "Building wheel"