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

fix frontend tests #11784

Merged
merged 7 commits into from May 9, 2024
Merged

Conversation

benoit-pierre
Copy link
Contributor

@benoit-pierre benoit-pierre commented May 9, 2024

Cf. discussion in #11775.


This change is Reviewable

Don't carry over some old settings. Additionally, avoid clobbering the standard reader settings.
Group tests by file type (EPUB or PDF).
Reduce time to run those tests by 95% on my machine (~17s → 0.8s).
Work on a copy of `test/sample.pdf`.
Work on a copy of `test/sample.pdf`.
Reduce time to run those tests by 74% on my machine (~8.8s → ~2.3s).
@benoit-pierre
Copy link
Contributor Author

See run with forced coverage.

@Frenzie Frenzie merged commit 075edf9 into koreader:master May 9, 2024
2 checks passed
@Frenzie Frenzie added this to the 2024.05 milestone May 9, 2024
@Frenzie
Copy link
Member

Frenzie commented May 9, 2024

Awesome, thanks!

@Frenzie Frenzie mentioned this pull request May 9, 2024
@benoit-pierre benoit-pierre deleted the pr/fix_frontend_tests branch May 9, 2024 14:28
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.

None yet

2 participants