mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Use CSV-separated outputs @ get-changed-files @ CI (#105151)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
9c44656feb
commit
eaa6702280
3 changed files with 32 additions and 21 deletions
4
.github/workflows/reusable-docs.yml
vendored
4
.github/workflows/reusable-docs.yml
vendored
|
|
@ -38,12 +38,14 @@ jobs:
|
|||
uses: Ana06/get-changed-files@v2.2.0
|
||||
with:
|
||||
filter: "Doc/**"
|
||||
format: csv # works for paths with spaces
|
||||
- name: 'Build changed files in nit-picky mode'
|
||||
if: github.event_name == 'pull_request'
|
||||
continue-on-error: true
|
||||
run: |
|
||||
set -Eeuo pipefail
|
||||
# Mark files the pull request modified
|
||||
touch ${{ steps.changed_files.outputs.added_modified }}
|
||||
python Doc/tools/touch-clean-files.py --clean '${{ steps.changed_files.outputs.added_modified }}'
|
||||
# Build docs with the '-n' (nit-picky) option; convert warnings to annotations
|
||||
make -C Doc/ PYTHON=../python SPHINXOPTS="-q -n --keep-going" html 2>&1 |
|
||||
python Doc/tools/warnings-to-gh-actions.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue