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

Split unit-test workflow into tests and lint #4933

Merged
merged 3 commits into from
Nov 6, 2023

Conversation

MeenuyD
Copy link
Contributor

@MeenuyD MeenuyD commented Nov 6, 2023

This pr splits the unit-test workflow into two parallel workflows: one for running tests and another for running linters. The motivation behind this change is to improve the overall workflow performance. The unit-test workflow had become the longest among all workflows, with significant time spent on installing tools that are only required for linters.
Resolves #4930

@MeenuyD MeenuyD requested a review from a team as a code owner November 6, 2023 01:50
Signed-off-by: MeenuyD <meenu.coninja@gmail.com>
@MeenuyD
Copy link
Contributor Author

MeenuyD commented Nov 6, 2023

Hello @yurishkuro can you please review the PR and guide if any changes needed

Copy link

codecov bot commented Nov 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

see 1 file with indirect coverage changes

📢 Thoughts on this report? Let us know!.

Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Comment on lines 18 to 24
env:
# Using upload token helps against rate limiting errors.
# Cannot define it as secret as we need it accessible from forks.
# See https://github.com/codecov/codecov-action/issues/837
CODECOV_TOKEN: f457b710-93af-4191-8678-bcf51281f98c


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
env:
# Using upload token helps against rate limiting errors.
# Cannot define it as secret as we need it accessible from forks.
# See https://github.com/codecov/codecov-action/issues/837
CODECOV_TOKEN: f457b710-93af-4191-8678-bcf51281f98c

@@ -50,6 +50,3 @@ jobs:
flags: unittests
fail_ci_if_error: true
token: ${{ env.CODECOV_TOKEN }}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also remove make install-test-tools above

@yurishkuro yurishkuro added the changelog:ci Change related to continuous integration / testing label Nov 6, 2023
MeenuyD and others added 2 commits November 6, 2023 08:06
Signed-off-by: MeenuyD <meenu.coninja@gmail.com>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Meenu Yadav <116630390+MeenuyD@users.noreply.github.com>
@yurishkuro yurishkuro changed the title Splited unit-test workflow into tests and lint Split unit-test workflow into tests and lint Nov 6, 2023
@yurishkuro yurishkuro merged commit 5a28824 into jaegertracing:main Nov 6, 2023
34 checks passed
@yurishkuro
Copy link
Member

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:ci Change related to continuous integration / testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ci] Split unit-test workflow into tests and lint
2 participants