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

🚚 Simplify test partitioning #5344

Merged
merged 2 commits into from
Apr 1, 2024
Merged

🚚 Simplify test partitioning #5344

merged 2 commits into from
Apr 1, 2024

Conversation

rix0rrr
Copy link
Collaborator

@rix0rrr rix0rrr commented Apr 1, 2024

There used to be 3 modes of running the tests:

  • Normal
  • With --all flag (only on non-Weblate PRs)
  • With --weblate (only on Weblate PRs)

The result was that that the test suites:

tests/test_highlighting
tests/test_level
tests/test_translation_level

Would not be run on Weblate PRs, and not locally.

Simplify the logic a bit by dividing the tests into 2 classes:

  • Normal tests, always run
  • Slow tests, run on Weblate PRs

There used to be 3 modes of running the tests:

* Normal
* With `--all` flag (only on non-Weblate PRs)
* With `--weblate` (only on Weblate PRs)

The result was that that the test suites:

    tests/test_highlighting
    tests/test_level
    tests/test_translation_level

Would not be run on Weblate PRs, and not locally.

Simplify the logic a bit by dividing the tests into 2 classes:

- Normal tests, always run
- Slow tests, run on Weblate PRs
Copy link
Contributor

mergify bot commented Apr 1, 2024

Thank you for contributing! Your pull request is now going on the merge train (choo choo! Do not click update from main anymore, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit e175513 into main Apr 1, 2024
12 checks passed
@mergify mergify bot deleted the fix-tests branch April 1, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants