add tests and workflow

This commit is contained in:
Bruce Röttgers
2025-04-26 19:40:41 +02:00
parent e578473c9f
commit 59b2aeb1f4
7 changed files with 4908 additions and 2 deletions

23
.github/workflows/test-parser.yaml vendored Normal file
View File

@@ -0,0 +1,23 @@
on:
pull_request:
jobs:
run-tests:
name: Unit-Test Parser
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --locked --dev
- name: Run tests
run: uv run pytest