chore: separate runtime and dev dependencies, add pytest config and CI cache
Build and publish container / build (push) Successful in 8m20s

This commit is contained in:
2026-06-17 16:40:39 +01:00
parent 91d70cf10c
commit e05f08995e
5 changed files with 22 additions and 5 deletions
+11 -2
View File
@@ -46,10 +46,19 @@ jobs:
python-version: 3.12
- name: Install test dependencies
run: python -m pip install --upgrade pip && pip install -r requirements.txt
run: python -m pip install --upgrade pip && pip install -r requirements-dev.txt
- name: Cache pip dependencies
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: "$RUNNER_OS-pip-${{ hashFiles('requirements-dev.txt') }}"
restore-keys: |
$RUNNER_OS-pip-
- name: Run unit tests
run: pytest -q
run: python -m pytest -q
- name: Determine registry host
run: echo "REGISTRY=${GITHUB_SERVER_URL#*://}" >> "$GITHUB_ENV"