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

Makefile: github/workflows/frontend: Add i18n-check to CI #2164

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

illume
Copy link
Collaborator

@illume illume commented Jul 15, 2024

Fixes tests so they are not run twice #2125

Running it inside the tests makes the translation files be written
when the tests run, causing the tests to run twice.

Running it as a pre-commit hook is a bit slow (3.0s), because
it looks at all the files that have changed, and then writes all
the translation files again.

So instead we run it in CI so it catches the issues.

Fixes tests so they are not run twice #2125

Running it inside the tests makes the translation files be written
when the tests run, causing the tests to run twice.

Running it as a pre-commit hook is a bit slow (3.0s), because
it looks at all the files that have changed, and then writes all
the translation files again.

So instead we run it in CI so it catches the issues.

Signed-off-by: René Dudfield <renedudfield@microsoft.com>
@illume
Copy link
Collaborator Author

illume commented Jul 15, 2024

Related to #2140

@sniok
Copy link
Contributor

sniok commented Jul 16, 2024

If it's too slow as a pre-commit hook then this is a nice alternative. I'll close my PR

@joaquimrocha joaquimrocha merged commit f689aca into main Jul 16, 2024
18 checks passed
@joaquimrocha joaquimrocha deleted the fix-tests branch July 16, 2024 08:51
@illume illume added bug Something isn't working dx labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants