fixed tests
Test CI Templates / validate-syntax (push) Successful in 11s
Test CI Templates / test-python-code-quality (3.11) (push) Failing after 5s
Test CI Templates / test-python-pytest (true, 3.12) (push) Failing after 4s
Test CI Templates / test-web-formatting (true, false, 20) (push) Failing after 5s
Test CI Templates / test-python-code-quality (3.10) (push) Failing after 5s
Test CI Templates / test-python-code-quality (3.12) (push) Failing after 5s
Test CI Templates / test-python-code-quality (false, false, basic) (push) Failing after 5s
Test CI Templates / test-python-code-quality (false, true, skip-pyupgrade) (push) Failing after 5s
Test CI Templates / test-python-pytest (false, 3.11) (push) Failing after 5s
Test CI Templates / test-python-pytest (false, 3.12) (push) Failing after 5s
Test CI Templates / test-python-pytest (true, 3.11) (push) Failing after 5s
Test CI Templates / test-web-formatting (false, false, 20) (push) Failing after 5s
Test CI Templates / test-web-formatting (false, true, 18) (push) Failing after 5s
Test CI Templates / test-web-formatting (false, true, 20) (push) Failing after 5s
Test CI Templates / test-web-formatting (true, false, 18) (push) Failing after 5s
Test CI Templates / test-monorepo (push) Failing after 5s
Test CI Templates / test-web-formatting (true, true, 18) (push) Failing after 5s
Test CI Templates / test-web-formatting (true, true, 20) (push) Failing after 5s
Test CI Templates / test-results (push) Successful in 2s
Test CI Templates / test-python-code-quality (true, false, skip-mypy) (push) Failing after 5s
Test CI Templates / test-web-formatting (false, false, 18) (push) Failing after 5s
Test CI Templates / test-edge-cases (push) Failing after 5s

This commit is contained in:
Brian Bjarke Jensen
2025-09-19 20:25:51 +02:00
parent 9abca60246
commit 243a5432d8
12 changed files with 225 additions and 173 deletions
+12 -3
View File
@@ -199,17 +199,26 @@ validate_workflow_file() {
log_success "$filename is a reusable workflow"
validate_workflow_inputs "$file"
else
log_warning "$filename is not a reusable workflow (missing workflow_call trigger)"
# Skip warning for test files
if [[ "$filename" != *"test-"* ]]; then
log_warning "$filename is not a reusable workflow (missing workflow_call trigger)"
fi
fi
# Check for common issues
if grep -q "uses: \./\|uses: \.\\\\" "$file"; then
log_warning "Found relative path in 'uses' field in $file - this may cause issues"
# Skip warning for test files - they intentionally use relative paths to test local workflows
if [[ "$filename" != *"test-"* ]]; then
log_warning "Found relative path in 'uses' field in $file - this may cause issues"
fi
fi
# Check for hardcoded values that should be inputs
if grep -q "python-version: [\"']3\." "$file"; then
log_warning "Found hardcoded Python version in $file - consider making it an input"
# Skip warning for test files
if [[ "$filename" != *"test-"* ]]; then
log_warning "Found hardcoded Python version in $file - consider making it an input"
fi
fi
((VALID_FILES++))