31 lines
824 B
YAML
31 lines
824 B
YAML
name: Test execution
|
|
on: [push]
|
|
jobs:
|
|
Test-all:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v6
|
|
|
|
- name: Install hatch
|
|
run: uv tool install hatch
|
|
|
|
- name: Run tests
|
|
run: |
|
|
hatch run tests:run \
|
|
--ignore=dump_things_service/tests/test_generators.py \
|
|
--ignore=dump_things_service/tests/test_ifabsent_patch.py
|
|
|
|
- name: Run generator tests
|
|
run: |
|
|
hatch run tests:run dump_things_service/tests/test_generators.py
|
|
|
|
- name: Run ifabsent-patch tests
|
|
run: |
|
|
hatch run tests:run dump_things_service/tests/test_ifabsent_patch.py
|