8000 Add path prefix to check warning script call · python/cpython@ba6486f · GitHub
[go: up one dir, main page]

Skip to content

Commit ba6486f

Browse files
committed
Add path prefix to check warning script call
1 parent e8ef3e3 commit ba6486f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/reusable-change-detection.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ jobs:
140140
Tools/msi/**
141141
.github/workflows/reusable-windows-msi.yml
142142
format: csv # works for paths with spaces
143+
contineu-on-error: true
143144
- name: Check for changes in MSI installer-related files
144145
if: >-
145146
steps.changed-win-msi-files.outputs.added_modified_renamed != ''

.github/workflows/reusable-ubuntu.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,14 @@ jobs:
8080
working-directory: ${{ env.CPYTHON_BUILDDIR }}
8181
run: make pythoninfo
8282
- name: Check compiler warnings
83-
run: python Tools/build/check_warnings.py --compiler-output-file-path=${{ env.CPYTHON_BUILDDIR }}/compiler_output.txt --warning-ignore-file-path ${GITHUB_WORKSPACE}/Tools/build/.warningignore_ubuntu --compiler-output-type=json
83+
run: >-
84+
python Tools/build/check_warnings.py
85+
--compiler-output-file-path=${{ env.CPYTHON_BUILDDIR }}/compiler_output.txt
86+
--warning-ignore-file-path ${GITHUB_WORKSPACE}/Tools/build/.warningignore_ubuntu
87+
--compiler-output-type=json
88+
--fail-on-regression
89+
--fail-on-improvement
90+
--path-prefix="../cpython-ro-srcdir/"
8491
- name: Remount sources writable for tests
8592
# some tests write to srcdir, lack of pyc files slows down testing
8693
run: sudo mount $CPYTHON_RO_SRCDIR -oremount,rw

0 commit comments

Comments
 (0)
0