Skip to content
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

CI: Generate locale data during testing #185

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

syeopite
Copy link
Owner

@syeopite syeopite commented Feb 3, 2025

Generated locale data is not committed until a PR is merged. This means that when newly added languages are enabled the test instance ran by the CI attempts to fetch the data from an unavailable language causing an error.

This PR generates the locale data prior to running the test instance. This does mean that the locale data generation script is ran twice once in the CI and once in the dedicated workflow but the script is simple enough that this duplication is irrelevant and attempts to fix it will complicate the workflows significantly

Generated locale data is not committed until a PR is merged.
This means that when newly added languages are enabled the test
instance ran by the CI attempts to fetch the data from an
unavailable language causing an error.

This PR generates the locale data prior to running the test instance.
This does mean that the locale data generation script is ran twice
once in the CI and once in the dedicated workflow but the script is
simple enough that this duplication is irrelevant and attempts to fix it
will complicate the workflows significantly
@syeopite syeopite force-pushed the generate-locale-data-in-test-ci branch from 2f1490d to 03a355d Compare February 3, 2025 19:22
@syeopite syeopite merged commit eeca36f into master Feb 3, 2025
3 checks passed
@syeopite syeopite deleted the generate-locale-data-in-test-ci branch February 4, 2025 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant