File tree Expand file tree Collapse file tree 12 files changed +78
-36
lines changed
src/main/java/hexlet/code Expand file tree Collapse file tree 12 files changed +78
-36
lines changed Original file line number Diff line number Diff line change @@ -23,22 +23,15 @@ jobs:
2323 uses : gradle/actions/setup-gradle@v4
2424 with :
2525 gradle-version : 8.7
26-
27- - uses : austenstone/job-summary@v2.0
28- id : job-summary
29- with :
30- create-pdf : false
31- - run : echo "${{ steps.job-summary.outputs.job-summary }}"
32-
3326
3427 - name : Build with Gradle Wrapper
3528 run : make build
3629
3730 - name : Checking style with Gradle
3831 run : make lint
3932
40- # - name: Testing with Gradle
41- # run: make test
33+ - name : Testing with Gradle
34+ run : make test
4235
4336 - name : Publish code coverage
4437 uses : paambaati/codeclimate-action@v5.0.0
Original file line number Diff line number Diff line change 1+ # Ignore Gradle hiden dir
2+ .gradle
3+
4+ # Ignore Gradle build output directory
5+ build
6+
7+ # Ignore Logs output directory
8+ ** /logs /
9+
10+ # Ignore IntelliJ IDEA directory
11+ .idea /
12+
13+ ! gradle /wrapper /gradle-wrapper.jar
14+ ! ** /src /main /** /build /
15+ ! ** /src /test /** /build /
16+
17+ # ## IntelliJ IDEA ###
18+ * .iws
19+ * .iml
20+ * .ipr
21+ out /
22+ ! ** /src /main /** /out /
23+ ! ** /src /test /** /out /
24+
25+ # checkstyle/checkstyle.xml
26+ config /
Original file line number Diff line number Diff line change @@ -3,5 +3,17 @@ run-dist:
33
44build :
55 make -C app build
6+
7+ clean :
8+ make -C app clean
9+
10+ test :
11+ make -C app test
12+
13+ report :
14+ make -C app report
15+
16+ lint :
17+ make -C app lint
618
719.PHONY : build
Original file line number Diff line number Diff line change 11run-dist :
22 ./build/install/app/bin/app -h
3-
43run-dist-json :
54 ./build/install/app/bin/app src/test/resources/file1.json src/test/resources/file2.json
5+ clean :
6+ ./gradlew clean
7+ build :
8+ ./gradlew build
9+ install :
10+ ./gradlew clean install
11+ test :
12+ ./gradlew test
13+ report :
14+ ./gradlew jacocoTestReport
15+ lint :
16+ ./gradlew checkstyleMain
17+ .PHONY : build
618
Original file line number Diff line number Diff line change 1+ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
2+ import org.gradle.api.tasks.testing.logging.TestLogEvent
3+
14plugins {
25 id(" java" )
36 id(" application" )
47 id(" se.patrikerdes.use-latest-versions" ) version " 0.2.18"
5- id(" com.github.ben-manes.versions" ) version " 0.41 .0"
8+ id(" com.github.ben-manes.versions" ) version " 0.50 .0"
69 id(" checkstyle" )
710 id(" jacoco" )
11+ id(" com.adarshr.test-logger" ) version " 4.0.0"
812}
913
1014group = " hexlet.code"
@@ -26,6 +30,7 @@ dependencies {
2630 implementation(" com.fasterxml.jackson.core:jackson-databind:2.17.2" )
2731 implementation(" com.fasterxml.jackson.core:jackson-annotations:2.17.2" )
2832 implementation(" com.fasterxml.jackson.core:jackson-core:2.17.2" )
33+ testImplementation(" org.assertj:assertj-core:3.25.3" )
2934}
3035
3136tasks.test {
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.5 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.7 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments