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

add display for ui tests to jobs #319

Merged
merged 2 commits into from
May 9, 2024
Merged

Conversation

jperedadnr
Copy link
Collaborator

Fixes #318

@@ -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
Copy link
Collaborator

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

Copy link
Collaborator

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 :)

@jperedadnr jperedadnr merged commit 0cdda33 into gluonhq:main May 9, 2024
1 check passed
@jperedadnr jperedadnr deleted the 318-workflowui branch May 9, 2024 09:33
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.

Workflows: Allow UI tests
2 participants