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 GitHub Action for Validation Against Applications #445

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

HeikoKlare
Copy link
Contributor

@HeikoKlare HeikoKlare commented Mar 3, 2021

This PR adds a GitHub action that validates the CBS applications against the framework changes propsed in a pull request. See the discussion in #427.

It uses the master branches of the CBS domains and applications or, if existing, the branches with the same name as the one of the pull request. This will currently only work if the branch is present in the repository of the vitruv-tools organization and not in a fork.

Closes #427.

@HeikoKlare HeikoKlare force-pushed the applications-validation branch 13 times, most recently from dcf4073 to 28a6540 Compare March 3, 2021 16:06
@HeikoKlare HeikoKlare force-pushed the applications-validation branch from 28a6540 to 5537c81 Compare March 3, 2021 16:15
@HeikoKlare HeikoKlare marked this pull request as ready for review March 3, 2021 16:15
@HeikoKlare HeikoKlare merged commit f05c930 into master Mar 3, 2021
@HeikoKlare HeikoKlare deleted the applications-validation branch March 3, 2021 18:54
with:
working-directory: ./framework
run: >
./mvnw -B clean verify
Copy link
Contributor

Choose a reason for hiding this comment

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

I’d propose to only run package here and set the appropriate options to skip all tests. This will speed up the job and tests will be run by the other job anyway.

Copy link
Contributor

Choose a reason for hiding this comment

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

Plus, it might be interesting to see whether changes are compatible with the applications even if the unit tests still fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, that's a great idea, thanks! I already merged to use the validation for further PRs as soon as possible, but I will of course provide an update that implements that improvement.

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.

GitHub Actions Check for Validation Against Applications
2 participants