mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-08-17 16:37:30 +02:00
Enforce Gate 3 test quality budgets
This commit is contained in:
@@ -230,7 +230,7 @@ jobs:
|
||||
test:
|
||||
name: Tests py${{ matrix.python-version }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
timeout-minutes: 10
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -340,7 +340,7 @@ jobs:
|
||||
--min-file obliteratus/reporting/report.py=70 \
|
||||
--min-file obliteratus/community.py=70 \
|
||||
--min-file obliteratus/telemetry.py=70 \
|
||||
--min-changed 90 \
|
||||
--min-changed 95 \
|
||||
--base-ref "$COVERAGE_BASE" \
|
||||
"${module_args[@]}"
|
||||
|
||||
@@ -370,6 +370,12 @@ jobs:
|
||||
--output "test-results/test-trend-py${{ matrix.python-version }}.json" \
|
||||
"${base_args[@]}"
|
||||
|
||||
- name: Enforce normalized test duration budgets
|
||||
run: |
|
||||
"$TEST_ENV/bin/python" scripts/check_quality_policy.py \
|
||||
--policy ci/test-quality-policy.json \
|
||||
--evidence "test-results/test-trend-py${{ matrix.python-version }}.json"
|
||||
|
||||
- name: Upload test and coverage evidence
|
||||
if: always()
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
@@ -450,6 +456,12 @@ jobs:
|
||||
--output quality-evidence/quality-trend-py3.12.json \
|
||||
"${evidence_args[@]}"
|
||||
|
||||
- name: Enforce repeat duration budgets
|
||||
run: |
|
||||
"$QUALITY_ENV/bin/python" scripts/check_quality_policy.py \
|
||||
--policy ci/test-quality-policy.json \
|
||||
--evidence quality-evidence/quality-trend-py3.12.json
|
||||
|
||||
- name: Upload quality-depth evidence
|
||||
if: always()
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
|
||||
Reference in New Issue
Block a user