mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Build/Test Tools: install additional languages in end-to-end tests.
As a follow-up to [58430], this makes another locale available during the e2e tests, allowing testing of scenarios that require loading translations in the future. See #61240. git-svn-id: https://develop.svn.wordpress.org/trunk@58431 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b0030c47e1
commit
19684edd62
@ -45,6 +45,7 @@ jobs:
|
||||
# - Logs Docker debug information (about both the Docker installation within the runner and the WordPress container).
|
||||
# - Install WordPress within the Docker container.
|
||||
# - Install Gutenberg.
|
||||
# - Install additional languages.
|
||||
# - Run the E2E tests.
|
||||
# - Uploads screenshots and HTML snapshots as an artifact.
|
||||
# - Ensures version-controlled files are not modified or deleted.
|
||||
@ -114,6 +115,12 @@ jobs:
|
||||
if: ${{ inputs.install-gutenberg }}
|
||||
run: npm run env:cli -- plugin install gutenberg --path=/var/www/${{ env.LOCAL_DIR }}
|
||||
|
||||
- name: Install additional languages
|
||||
run: |
|
||||
npm run env:cli -- language core install de_DE --path=/var/www/${{ env.LOCAL_DIR }}
|
||||
npm run env:cli -- language plugin install de_DE --all --path=/var/www/${{ env.LOCAL_DIR }}
|
||||
npm run env:cli -- language theme install de_DE --all --path=/var/www/${{ env.LOCAL_DIR }}
|
||||
|
||||
- name: Run E2E tests
|
||||
run: npm run test:e2e
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user