mirror of
https://github.com/bcye/structured-wikivoyage-exports.git
synced 2025-09-13 16:34:48 +00:00
add tests and workflow
This commit is contained in:
23
.github/workflows/test-parser.yaml
vendored
Normal file
23
.github/workflows/test-parser.yaml
vendored
Normal 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
|
Reference in New Issue
Block a user