-
Notifications
You must be signed in to change notification settings - Fork 5
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
Implementing GitHub Actions Pipeline #982
base: dev
Are you sure you want to change the base?
Conversation
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.
Maybe I'll find more later...
- name: Checkout Source | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 |
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.
This fetches all history for all branches. Is that necessary?
run: ./gradlew --refresh-dependencies clean assemble | ||
|
||
- name: Run Tests | ||
run: ./gradlew spotlessCheck pmdMain pmdTest reportScoverage checkScoverage |
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.
Separating the spotless check into its own job didn't work?
- name: Deploy | ||
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' | ||
run: | | ||
./gradlew --refresh-dependencies test publish\ |
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 don't think we have to refresh dependencies and run tests again here. Maybe I'm wrong, but we'd find that out later on
Resolves #939