Updates for file translations/FeedbackXBlock/feedback/conf/locale/en/LC_MESSAGES/django.po in es_419 #11954
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
# run make test for python | |
name: Python Tests | |
on: | |
- pull_request | |
jobs: | |
python-translations: | |
runs-on: ubuntu-latest | |
steps: | |
# Define which file extensions, when touched, should trigger the | |
# Python tests, so we can skip this Action if we've only touched .po files | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
non_pofiles: | |
- '**.txt' | |
- '**.yml' | |
- '**.in' | |
- '**.py' | |
# Clones the openedx-translations repo | |
- name: clone openedx/openedx-translations | |
uses: actions/checkout@v3 | |
- name: Install gettext | |
if: steps.filter.outputs.non_pofiles == 'true' | |
run: | | |
sudo apt install -y gettext | |
# Sets up Python | |
- name: setup python | |
if: steps.filter.outputs.non_pofiles == 'true' | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
# Run the script | |
- name: run python tests | |
if: steps.filter.outputs.non_pofiles == 'true' | |
run: | | |
make test_requirements | |
make test |