Add unit tests for backup_first_start and run them in CI
CI / build-and-scan (push) Failing after 40s
CI / build-and-scan (push) Failing after 40s
This commit is contained in:
@@ -36,6 +36,13 @@ jobs:
|
||||
exit(1)
|
||||
"
|
||||
|
||||
- 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
|
||||
"
|
||||
|
||||
- name: Check deprecation warnings
|
||||
run: |
|
||||
docker run --rm adguard-cidre:ci python -W error::DeprecationWarning -c "import blocklist_scheduler" 2>&1 | tee deprecation.log || true
|
||||
|
||||
Reference in New Issue
Block a user