Skip to content

Commit d8389ea

Browse files
committed
ci: fix environment config validation workflow
Use 'uv run python' instead of bare 'python' to access virtual environment dependencies. The workflow installs pyyaml and pydantic with uv but was running validation script outside the virtual environment, causing ModuleNotFoundError.
1 parent 85d9892 commit d8389ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/validate-configs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ jobs:
6767
# Check if it's a template or library config
6868
if [[ "$config_file" == *"templates/"* ]]; then
6969
echo "Note: Template file - allowing placeholder values"
70-
python scripts/validate_environment_config.py "$config_file" || true
70+
uv run python scripts/validate_environment_config.py "$config_file" || true
7171
else
7272
# Library configs must pass strict validation
73-
if ! python scripts/validate_environment_config.py "$config_file" --strict; then
73+
if ! uv run python scripts/validate_environment_config.py "$config_file" --strict; then
7474
exit_code=1
7575
fi
7676
fi

0 commit comments

Comments
 (0)