forked from gap-system/gap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add gaplint job (trailing whitespace only)
- Loading branch information
1 parent
05c3b50
commit 3a58ca3
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
disable: | ||
- W000 | ||
- W001 | ||
- W002 | ||
- W003 | ||
- W004 | ||
- W005 | ||
- W006 | ||
- W008 | ||
- W009 | ||
- W010 | ||
- W011 | ||
- W012 | ||
- W013 | ||
- W014 | ||
- W015 | ||
- W016 | ||
- W017 | ||
- W018 | ||
- W019 | ||
- W020 | ||
- W021 | ||
- W022 | ||
- W023 | ||
- W024 | ||
- W025 | ||
- W026 | ||
- W027 | ||
- W028 | ||
- W029 | ||
- W030 | ||
- W031 | ||
- W032 | ||
- W033 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: "Lint" | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- "master" | ||
- "stable-*.*" | ||
schedule: | ||
# Every day at 3:10 AM UTC | ||
- cron: '10 3 * * *' | ||
|
||
jobs: | ||
gaplint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Check out the repository" | ||
uses: actions/checkout@v3 | ||
- name: "Set up Python" | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- name: "Install gaplint with pip" | ||
run: pip install gaplint==1.1.3 | ||
- name: "Run gaplint lib/*.gi lib/*.gd . . ." | ||
run: gaplint lib/*.g* hpcgap/lib/*.g* grp/*.g lib/hpc/*.g hpcgap/lib/hpc/*.g |