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

Only run -race -cover on ubuntu in the CI #3035

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

jvoisin
Copy link
Collaborator

@jvoisin jvoisin commented Dec 22, 2024

The coverage information isn't used anywhere in the CI, so no need to have it for every OS. As for -race, there is no point in using it everywhere, one time should be enough, especially since it's taking a lot of time on Windows.

The coverage information isn't used anywhere in the CI, so no need to have it
for every OS. As for `-race`, there is no point in using it everywhere, one
time should be enough, especially since it's taking a lot of time on Windows.
@jvoisin jvoisin mentioned this pull request Dec 22, 2024
17 tasks
@fguillot fguillot merged commit f52411f into miniflux:main Dec 23, 2024
16 checks passed
@fguillot
Copy link
Member

I don't see much difference when comparing with previous runs.

Before:

image

After:

image

@jvoisin
Copy link
Collaborator Author

jvoisin commented Dec 23, 2024

It seems that having both the downloading and the running tests in a single step made me erroneously deduce that the thing taking the most time was running the tests, and not downloading the dependencies. #3038 should fix the caching issue, and significantely reduce the time taken by the tests.

@jvoisin jvoisin deleted the nocovernorace branch December 26, 2024 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants