Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

ci: Add detailed logging to CSS check workflow

LearningCircuit947d2c0bb100
diff --git a/.github/workflows/check-css-classes.yml b/.github/workflows/check-css-classes.yml
index aaac43c866..096f686501 100644
--- a/.github/workflows/check-css-classes.yml
+++ b/.github/workflows/check-css-classes.yml
@@ -62,6 +62,13 @@ jobs:
print(f"Checking {len(files_to_check)} files for CSS class naming compliance...")
+ # Show first few files being checked for debugging
+ print("\nFirst 10 files being checked:")
+ for f in files_to_check[:10]:
+ print(f" - {f}")
+ if len(files_to_check) > 10:
+ print(f" ... and {len(files_to_check) - 10} more files")
+
# Run the check
cmd = [sys.executable, ".pre-commit-hooks/check-css-class-prefix.py"] + [str(f) for f in files_to_check]
result = subprocess.run(cmd, capture_output=True, text=True)
@@ -86,11 +93,23 @@ jobs:
- name: Run CSS class check
id: css_check
- run: python check_all_css.py
+ run: |
+ python check_all_css.py || echo "CSS_CHECK_FAILED=true" >> $GITHUB_ENV
continue-on-error: true
+ - name: Show CSS check results
+ if: always()
+ run: |
+ echo "CSS check step outcome: ${{ steps.css_check.outcome }}"
+ echo "CSS check step conclusion: ${{ steps.css_check.conclusion }}"
+ if [ "$CSS_CHECK_FAILED" = "true" ]; then
+ echo "CSS check failed - violations were found"
+ else
+ echo "CSS check passed - no violations found"
+ fi
+
- name: Comment on PR (if failed)
- if: failure() && github.event_name == 'pull_request'
+ if: env.CSS_CHECK_FAILED == 'true' && github.event_name == 'pull_request'
uses: actions/github-script@v7
with:
script: |
@@ -115,5 +134,7 @@ jobs:
});
- name: Set exit code
- if: steps.css_check.outcome == 'failure'
- run: exit 1
+ if: env.CSS_CHECK_FAILED == 'true'
+ run: |
+ echo "Failing workflow due to CSS violations"
+ exit 1