Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Integracion con padpoes #1785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: 3.13
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
run padpoes in github actions workflow
  • Loading branch information
brunildisimo committed Oct 31, 2022
commit 08ff1491a5281cded59a2d2828797551a4359ff2
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Register problem matchers
run: echo "::add-matcher::.github/problem-matchers/pospell.json"
- uses: lots0logs/[email protected]
id: changed_files
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Preparar Python v3.11
uses: actions/setup-python@v2
with:
Expand All @@ -35,6 +41,19 @@ jobs:
- name: Pospell
run: |
python scripts/check_spell.py
- name: Padpoes
env:
ADDED_FILES: ${{ join(fromJSON(steps.changed_files.outputs.added), ' ') }}
MODIFIED_FILES: ${{ join(fromJSON(steps.changed_files.outputs.modified), ' ') }}
run: |
CHANGED_PO_FILES=$(printf "%s %s\n" "$ADDED_FILES" "$MODIFIED_FILES" | tr ' ' '\n' | grep '.po$'; true)
if [ -n "$CHANGED_PO_FILES" ]
then
echo "Running on:" $CHANGED_PO_FILES
padpoes -i $CHANGED_PO_FILES 2>&1 | grep -v -Ff padpoes.ignore
else
echo "No changed po files, nothing to check."
fi
- name: Construir documentación
run: |
# FIXME: Relative paths for includes in 'cpython'
Expand Down
Empty file added padpoes.ignore
Empty file.