Marc Kupietz | 870039c | 2025-05-04 13:49:56 +0200 | [diff] [blame^] | 1 | image: python:3.13 |
2 | |||||
3 | stages: | ||||
4 | - test | ||||
5 | - build | ||||
6 | |||||
7 | test: | ||||
8 | stage: test | ||||
9 | script: | ||||
10 | - pip install -e . | ||||
11 | - pip install pytest | ||||
12 | - pytest tests/ | ||||
13 | |||||
14 | build: | ||||
15 | stage: build | ||||
16 | script: | ||||
17 | - pip install build twine | ||||
18 | - python -m build | ||||
19 | - python -m twine check dist/* | ||||
20 | artifacts: | ||||
21 | paths: | ||||
22 | - dist/ |