Skip to content

remove output.json

remove output.json #21

Workflow file for this run

name: OCR Poetry Benchmark Tests
on:
push:
branches:
- main
- zedd/model-benchmark
paths:
- .github/workflows/ocr-benchmarks.yml
- OCR/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
cd OCR/tests
python -m pip install --upgrade pip
pip install poetry
pip install pytest pytest-benchmark
poetry install --with dev
- name: Run tests
run: |
cd OCR/tests
poetry run pytest benchmark_test.py -v --benchmark-json output.json
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'pytest'
output-file-path: OCR/tests/output.json
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true