-
Notifications
You must be signed in to change notification settings - Fork 1.3k
32 lines (29 loc) · 981 Bytes
/
benchmarks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Integration test
on: [push]
env:
PYTHONIOENCODING: "utf-8"
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y pandoc
- name: Install python dependencies
run: |
pip install poetry
poetry install
- name: Run benchmark test
run: |
poetry run python benchmarks/overall/overall.py --max_rows 5
poetry run python benchmarks/verify_scores.py conversion_results/benchmark/overall/result.json --type marker
- name: Run table benchmark
run: |
poetry run python benchmarks/table/table.py --max_rows 5
poetry run python benchmarks/verify_scores.py conversion_results/benchmark/table/table.json --type table