Skip to content

Commit 42dafed

Browse files
authored
Add GitHub Action to find Python Syntax Errors
Find Python 2 code in this repo that was not ported to Python 3.
1 parent eb2686e commit 42dafed

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/litmus-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,10 @@ jobs:
2828
run: |
2929
cd buildbot/osuosl/master
3030
BUILDBOT_TEST=1 buildbot checkconfig
31+
python_syntax_errors:
32+
runs-on: ubuntu-24.04
33+
steps:
34+
- uses: actions/checkout@v4
35+
- uses: astral-sh/ruff-action@v3
36+
with: # Ignore all ruff rules except Python Syntax Errors
37+
args: "check --ignore=ALL

0 commit comments

Comments
 (0)