Fix CI unit test step with a dedicated Docker build stage
CI / build-and-scan (push) Successful in 34s

This commit is contained in:
Djeex
2026-08-22 11:11:41 +02:00
parent 267d9e52e0
commit d051d9deb7
2 changed files with 10 additions and 5 deletions
+2 -4
View File
@@ -38,10 +38,8 @@ jobs:
- name: Run unit tests
run: |
docker run --rm -v "$PWD":/app -w /app python:3.13-alpine sh -c "
pip install --no-cache-dir -r requirements-dev.txt &&
pytest -v
"
docker build --target test -t adguard-cidre:test .
docker run --rm adguard-cidre:test pytest -v
- name: Check deprecation warnings
run: |