GRM-74: fix: lower test speed threshold to 4s and update devx to v0.8.2
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
|||||||
PYTHONPATH: src
|
PYTHONPATH: src
|
||||||
run: |
|
run: |
|
||||||
. .venv/bin/activate
|
. .venv/bin/activate
|
||||||
python3 -m devx.tools.check_test_speed --max-seconds 10 --max-single-seconds 0.5
|
python3 -m devx.tools.check_test_speed --max-seconds 4 --max-single-seconds 0.5
|
||||||
- name: Dependency security scan
|
- name: Dependency security scan
|
||||||
run: |
|
run: |
|
||||||
. .venv/bin/activate
|
. .venv/bin/activate
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ all: setup
|
|||||||
|
|
||||||
# Pinned devx version — update this when upgrading devx.
|
# Pinned devx version — update this when upgrading devx.
|
||||||
# All workflow files (.gitea/workflows/*.yml) must be updated to match.
|
# All workflow files (.gitea/workflows/*.yml) must be updated to match.
|
||||||
DEVX_VERSION := v0.7.0
|
DEVX_VERSION := v0.8.2
|
||||||
|
|
||||||
install-devx: $(VENV)/bin/activate
|
install-devx: $(VENV)/bin/activate
|
||||||
@# REPO_TOKEN may come from .env (local) or environment (CI secrets)
|
@# REPO_TOKEN may come from .env (local) or environment (CI secrets)
|
||||||
|
|||||||
+1
-1
@@ -3,4 +3,4 @@
|
|||||||
# Checks both total suite time (10s) and per-test time (0.5s).
|
# Checks both total suite time (10s) and per-test time (0.5s).
|
||||||
# Aligned with CI (ci.yml uses same thresholds).
|
# Aligned with CI (ci.yml uses same thresholds).
|
||||||
set -e
|
set -e
|
||||||
python3 -m devx.tools.check_test_speed --max-seconds 10 --max-single-seconds 0.5
|
python3 -m devx.tools.check_test_speed --max-seconds 4 --max-single-seconds 0.5
|
||||||
|
|||||||
+1
-1
@@ -3,4 +3,4 @@
|
|||||||
# Checks both total suite time (10s) and per-test time (0.5s).
|
# Checks both total suite time (10s) and per-test time (0.5s).
|
||||||
# Aligned with CI (ci.yml uses same thresholds).
|
# Aligned with CI (ci.yml uses same thresholds).
|
||||||
set -e
|
set -e
|
||||||
python3 -m devx.tools.check_test_speed --max-seconds 10 --max-single-seconds 0.5
|
python3 -m devx.tools.check_test_speed --max-seconds 4 --max-single-seconds 0.5
|
||||||
|
|||||||
Reference in New Issue
Block a user