-
Notifications
You must be signed in to change notification settings - Fork 16
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
add display for ui tests to jobs #319
Conversation
@@ -33,7 +33,7 @@ jobs: | |||
run: | | |||
ver=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout -f rta) | |||
if [[ $ver == *"SNAPSHOT"* ]]; then | |||
mvn -B -ntp deploy -f rta | |||
mvn -B -ntp -Dmaven.test.skip=true deploy -f rta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was checking a previous run and it seems that the "Build project" phase don't run the tests. These are actually ran in "Publish Snapshots" step.
Considering this, I am of the opinion that we should remove the previous all together and make the build.yml
similar to release.yml
where both tests and deployment are done using the same step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, my bad. However, they run again in the next step.
I would prefer to remove the previous step to consistency across workflows. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't remove Build project
, as that is used for PRs. Publish Snapshots
only applies when committed to main.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, now I see why it was divided into 2 steps to begin with. Thank you for reminding me :)
Fixes #318