-
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.
- Loading branch information
Showing
3 changed files
with
50 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,9 @@ jobs: | |
build-root-directory: app | ||
gradle-version: 8.7 | ||
- run: make lint | ||
working-directory: ./app | ||
- run: make test | ||
working-directory: ./app | ||
- name: Publish code coverage | ||
if: ${{ github.event_name == 'push' }} | ||
uses: paambaati/[email protected] | ||
|
@@ -29,5 +31,6 @@ jobs: | |
JACOCO_SOURCE_PATH: ${{github.workspace}}/app/src/main/java | ||
with: | ||
debug: true | ||
workingDirectory: ./app | ||
coverageCommand: make report | ||
coverageLocations: ${{github.workspace}}/app/build/reports/jacoco/test/jacocoTestReport.xml:jacoco |
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 |
---|---|---|
@@ -1,46 +1,5 @@ | ||
run-dist: | ||
app/build/install/app/bin/app | ||
|
||
run-dist-help: | ||
app/build/install/app/bin/app -h | ||
|
||
run-dist-version: | ||
app/build/install/app/bin/app -V | ||
|
||
run-dist-test: | ||
app/build/install/app/bin/app src/test/resources/test1.json src/test/resources/test2.json | ||
|
||
run-dist-test-yml: | ||
app/build/install/app/bin/app src/test/resources/test1.yml src/test/resources/test2.yml | ||
|
||
clean: | ||
app/gradlew clean | ||
|
||
build: | ||
app/gradlew clean build | ||
|
||
install: | ||
app/gradlew clean install | ||
|
||
run: | ||
app/gradlew run | ||
|
||
test: | ||
cp app | ||
./gradlew test | ||
|
||
report: | ||
cp app | ||
./gradlew jacocoTestReport | ||
|
||
lint: | ||
cd app | ||
./gradlew checkstyleMain | ||
make -C app report | ||
|
||
check-deps: | ||
app/gradlew dependencyUpdates -Drevision=release | ||
|
||
|
||
build-run: build run | ||
|
||
.PHONY: build | ||
run-dist: | ||
make -C app run-dist |
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
run-dist: | ||
./build/install/app/bin/app | ||
|
||
run-dist-help: | ||
./build/install/app/bin/app -h | ||
|
||
run-dist-version: | ||
./build/install/app/bin/app -V | ||
|
||
run-dist-test: | ||
./build/install/app/bin/app src/test/resources/test1.json src/test/resources/test2.json | ||
|
||
run-dist-test-yml: | ||
./build/install/app/bin/app src/test/resources/test1.yml src/test/resources/test2.yml | ||
|
||
clean: | ||
./gradlew clean | ||
|
||
build: | ||
./gradlew clean build | ||
|
||
install: | ||
./gradlew clean install | ||
|
||
run: | ||
./gradlew run | ||
|
||
test: | ||
./gradlew test | ||
|
||
report: | ||
./gradlew jacocoTestReport | ||
|
||
lint: | ||
cd app | ||
./gradlew checkstyleMain | ||
|
||
check-deps: | ||
app/gradlew dependencyUpdates -Drevision=release | ||
|
||
|
||
build-run: build run | ||
|
||
.PHONY: build |