Automate worker runtime delivery drill
This commit is contained in:
@@ -21,6 +21,13 @@ jobs:
|
||||
--health-interval 5s
|
||||
--health-timeout 5s
|
||||
--health-retries 20
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
options: >-
|
||||
--health-cmd "redis-cli ping"
|
||||
--health-interval 5s
|
||||
--health-timeout 5s
|
||||
--health-retries 20
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||
with:
|
||||
@@ -66,6 +73,13 @@ jobs:
|
||||
-s ../govoplan-search/tests \
|
||||
-p test_postgres_search.py \
|
||||
-v
|
||||
- name: Prove worker delivery and shutdown guarantees
|
||||
working-directory: govoplan
|
||||
env:
|
||||
GOVOPLAN_WORKER_DRILL_REDIS_URL: redis://redis:6379/15
|
||||
run: |
|
||||
.venv/bin/python tools/checks/worker-runtime-drill.py \
|
||||
--output audit-reports/worker-runtime.json
|
||||
- name: Run module matrix and contract tests
|
||||
working-directory: govoplan
|
||||
run: GOVOPLAN_CORE_ROOT="$PWD/../govoplan-core" PYTHON="$PWD/.venv/bin/python" bash tools/checks/check-module-matrix.sh
|
||||
|
||||
Reference in New Issue
Block a user