-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Coverage reports and testing changes, now running tests on different …
…versions
- Loading branch information
1 parent
b1d088f
commit 587cc38
Showing
9 changed files
with
302 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,4 +36,15 @@ jobs: | |
SONATYPE_USER: ${{ secrets.SONATYPE_USER }} | ||
- run: | | ||
git push | ||
git push --tags | ||
git push --tags | ||
- name: Submit Dependencies | ||
uses: mikepenz/[email protected] | ||
with: | ||
gradle-build-module: |- | ||
:annotations | ||
:runtime | ||
:compile | ||
:groovy | ||
:javac | ||
gradle-build-configuration: |- | ||
compileClasspath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,28 +17,46 @@ jobs: | |
- uses: fregante/setup-git-user@v2 | ||
- uses: gradle/gradle-build-action@v2 | ||
name: Setup Gradle | ||
- name: Build | ||
id: build | ||
- name: Assemble | ||
id: assemble | ||
run: | | ||
./gradlew build | ||
./gradlew assemble | ||
env: | ||
SNAPSHOT_MAVEN_URL: https://maven.lukebemish.dev/snapshots/ | ||
- name: Publish | ||
run: | | ||
./gradlew publish | ||
env: | ||
MAVEN_USER: github | ||
MAVEN_PASSWORD: ${{ secrets.SNAPSHOT_MAVEN_PASSWORD }} | ||
SNAPSHOT_MAVEN_URL: https://maven.lukebemish.dev/snapshots/ | ||
- name: Test | ||
run: | | ||
./gradlew test | ||
./gradlew check --continue | ||
env: | ||
SNAPSHOT_MAVEN_URL: https://maven.lukebemish.dev/snapshots/ | ||
- name: Upload Test Report | ||
uses: actions/upload-artifact@v3 | ||
if: (success() || failure()) && steps.build.conclusion == 'success' | ||
if: (success() || failure()) && steps.assemble.conclusion == 'success' | ||
with: | ||
name: junit-test-results | ||
path: "*/build/test-results/test/TEST-*.xml" | ||
retention-days: 1 | ||
- name: Upload Coverage Report | ||
uses: actions/upload-artifact@v3 | ||
if: (success() || failure()) && steps.assemble.conclusion == 'success' | ||
with: | ||
name: jacoco-coverage | ||
path: "build/reports/jacoco/testCodeCoverageReport" | ||
- name: Publish | ||
if: steps.assemble.conclusion == 'success' | ||
run: | | ||
./gradlew publish | ||
env: | ||
MAVEN_USER: github | ||
MAVEN_PASSWORD: ${{ secrets.SNAPSHOT_MAVEN_PASSWORD }} | ||
SNAPSHOT_MAVEN_URL: https://maven.lukebemish.dev/snapshots/ | ||
- name: Submit Dependencies | ||
uses: mikepenz/[email protected] | ||
with: | ||
gradle-build-module: |- | ||
:annotations | ||
:runtime | ||
:compile | ||
:groovy | ||
:javac | ||
gradle-build-configuration: |- | ||
compileClasspath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.