Skip to content

Commit 6c084a8

Browse files
committed
CI: add action to check code warnings
1 parent 2ea0317 commit 6c084a8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ jobs:
7272
shell: bash -l {0}
7373
run: |
7474
jb build lectures --path-output ./ -n -W --keep-going
75+
- name: Check for Python warnings
76+
uses: QuantEcon/meta/.github/actions/check-warnings@copilot/fix-175
77+
with:
78+
html-path: './_build/html'
79+
warnings: 'SyntaxWarning,DeprecationWarning,FutureWarning'
80+
fail-on-warning: 'true'
7581
- name: Upload Execution Reports (HTML)
7682
uses: actions/upload-artifact@v4
7783
if: failure()

0 commit comments

Comments
 (0)