dump-things-service/.forgejo/workflows/run_tests.yaml
Michael Hanke 45aeaf6607
ci: remove dedicated Python installation
There should be no need for that. `uv` can manage this on its own. This
has the advantage that the outcome, when run locally, is likely to be
more similar than what that action might do. This may remove unexplained
behavior differences between CI results and local tests.
2026-06-30 17:53:52 +02:00

33 lines
891 B
YAML

name: Test execution
on: [push]
jobs:
Test-all:
runs-on: ubuntu-latest
steps:
- name: Set up environment
run: |
git config --global user.email "test@example.org"
git config --global user.name "CI Tester"
- name: Check out repository code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install hatch
run: uv tool install hatch
- name: Run tests
run: |
hatch test \
--ignore=dump_things_service/tests/test_generators.py \
--ignore=dump_things_service/tests/test_ifabsent_patch.py
- name: Run generator tests
run: |
hatch test dump_things_service/tests/test_generators.py
- name: Run ifabsent-patch tests
run: |
hatch test dump_things_service/tests/test_ifabsent_patch.py