ci: odpalaj testy warstwy bazodanowej (dotąd nie były uruchamiane) #53

Merged
gitea merged 1 commits from ci/data-tests into master 2026-08-03 19:56:49 +00:00
2 changed files with 22 additions and 0 deletions
Showing only changes of commit dd32f7e82f - Show all commits
+20
View File
@@ -71,6 +71,26 @@ jobs:
PYTHONPATH: .
run: pytest tests -q -rs
data-tests:
name: Testy warstwy bazodanowej (ochrona baz)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: services/data/requirements-dev.txt
- name: Instalacja zależności
run: pip install -r services/data/requirements-dev.txt
# Rekordy-pułapki (DAN-26): nietestowany kod ochronny jest gorszy niż jego
# brak, bo daje złudzenie zabezpieczenia. Ta warstwa dotąd nie miała testów.
- name: Testy (pytest)
working-directory: services/data
env:
PYTHONPATH: .
run: pytest tests -q -rs
swisseph-image:
name: Build obrazu silnika B (swisseph)
runs-on: ubuntu-latest
+2
View File
@@ -0,0 +1,2 @@
-r requirements.txt
pytest>=8.0