Skip to content

Commit 9a8a8d1

Browse files
fankclaude
andcommitted
Use sqruff parse instead of lint for CI test
- Replace sqruff lint with sqruff parse for testing - parse command succeeds if SQL is syntactically valid - More appropriate for testing if sqruff is working correctly - Also add sqruff --help for additional verification 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 936989d commit 9a8a8d1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ jobs:
5555

5656
- name: Verify Specific Version
5757
run: |
58-
# Just verify sqruff runs successfully
58+
# Verify sqruff runs successfully
5959
sqruff --version
60-
# Test actual functionality (ignore exit code as lint may find issues)
61-
echo "SELECT * FROM table" | sqruff lint --dialect ansi - || true
60+
sqruff --help
61+
# Test parsing functionality (parse always succeeds if SQL is valid)
62+
echo "SELECT 1" | sqruff parse --dialect ansi -

0 commit comments

Comments
 (0)