Update actions/setup-python action to v5 #355
Workflow file for this run
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
name: test-translations | |
on: | |
push: | |
paths: | |
- 'src/locales/**.po' | |
- 'src/locales/**.pot' | |
- 'src/tests/**' | |
- '.github/workflows/test_translations.yml' | |
pull_request: | |
paths: | |
- 'src/locales/**.po' | |
- 'src/locales/**.pot' | |
- 'src/tests/**' | |
- '.github/workflows/test_translations.yml' | |
env: | |
L10N_WEBHOOK_URL: ${{ secrets.L10N_WEBHOOK_URL }} | |
jobs: | |
parse-and-check-po-files: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
- run: pip install babel requests git+https://github.com/Rapptz/discord.py.git | |
- run: python ./src/tests/test_translations.py |