diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af138fab..1bed08a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -240,6 +240,13 @@ jobs: poetry run make benchmarks shell: bash + - name: Store benchmark results + uses: benchmark-action/github-action-benchmark@v1 + with: + tool: 'pytest' + output-file-path: benchmarks.json + + release: runs-on: ${{ matrix.os }} strategy: diff --git a/Makefile b/Makefile index 362fa02c..877c3500 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ test: buzz/whisper_cpp.py translation_mo pytest -vv --cov=buzz --cov-report=xml --cov-report=html --benchmark-skip benchmarks: buzz/whisper_cpp.py translation_mo - pytest -vv --benchmark-only + pytest -vv --benchmark-only --benchmark-json benchmarks.json dist/Buzz dist/Buzz.app: buzz/whisper_cpp.py translation_mo pyinstaller --noconfirm Buzz.spec