File tree Expand file tree Collapse file tree 3 files changed +279
-148
lines changed
prometheus-metrics-exposition-textformats/src/test/java/io/prometheus/metrics/expositionformats Expand file tree Collapse file tree 3 files changed +279
-148
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ If you're getting errors when running tests:
3030- Use ` -Dcheckstyle.skip=true ` to skip the checkstyle check during development.
3131- Use ` -Dwarnings=-nowarn ` to skip the warnings during development.
3232
33- Combine all with ` mvn test -DskipTests=true -Dspotless.check.skip=true -Dcoverage.skip=true -Dcheckstyle.skip=true -Dwarnings=-nowarn` .
33+ Combine all with ` ./mvnw test -DskipTests=true -Dspotless.check.skip=true -Dcoverage.skip=true -Dcheckstyle.skip=true -Dwarnings=-nowarn` .
3434
3535## Updating the Protobuf Java Classes
3636
Original file line number Diff line number Diff line change @@ -13,3 +13,15 @@ run = [
1313 " ./mvnw javadoc:javadoc -P javadoc"
1414]
1515env = { PROTO_GENERATION = " true" , REQUIRE_PROTO_UP_TO_DATE = " true" }
16+
17+ [tasks .format ]
18+ description = " format source code"
19+ run = " ./mvnw spotless:apply"
20+
21+ [tasks .test ]
22+ description = " run unit tests, ignoring formatting and linters"
23+ run = " ./mvnw test -DskipTests=true -Dspotless.check.skip=true -Dcoverage.skip=true -Dcheckstyle.skip=true -Dwarnings=-nowarn"
24+
25+ [tasks .test-all ]
26+ description = " run all tests"
27+ run = " ./mvnw verify"
You can’t perform that action at this time.
0 commit comments