Skip to content

Commit

Permalink
Add CI check for trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia committed Oct 11, 2024
1 parent 6f72489 commit 959d592
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@ jobs:
- name: Run linter for test generators
run: make lint_generators

whitespace:
runs-on: [self-hosted-ghr-custom, size-l-x64, profile-consensusSpecs]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check for trailing whitespace
run: |
if git grep -n '[[:blank:]]$'; then
echo "Trailing whitespace found. Please fix it."
exit 1
fi
pyspec-tests:
runs-on: [self-hosted-ghr-custom, size-xl-x64, profile-consensusSpecs]
needs: [lint,codespell,table_of_contents]
Expand Down

0 comments on commit 959d592

Please sign in to comment.