Skip to content

Commit 88e4176

Browse files
authored
Update PULL_REQUEST_TEMPLATE.md (GoogleCloudPlatform#2676)
Fixes #<issue_number_goes_here> > It's a good idea to open an issue first for discussion. - [x] Tests pass - [ ] Appropriate changes to README are included in PR - [ ] API's need to be enabled to test (tell us) - [ ] Environment Variables need to be set (ask us to set them)
1 parent bc36e97 commit 88e4176

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ Fixes #<issue_number_goes_here>
22

33
> It's a good idea to open an issue first for discussion.
44
5-
- [ ] Tests pass
5+
- [ ] Tests pass (`mvn -P lint clean verify`)?
6+
- [ ] `pom.xml` parent set to latest `shared-configuration`
67
- [ ] Appropriate changes to README are included in PR
78
- [ ] API's need to be enabled to test (tell us)
89
- [ ] Environment Variables need to be set (ask us to set them)
9-

.kokoro/tests/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ for file in **/pom.xml; do
166166
fi
167167

168168
# Use maven to execute the tests for the project.
169-
mvn -q --batch-mode --fail-at-end clean verify \
169+
mvn -P lint -q --batch-mode --fail-at-end clean verify \
170170
-Dfile.encoding="UTF-8" \
171171
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
172172
-Dmaven.test.redirectTestOutputToFile=true \

SAMPLE_FORMAT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ tool or IntelliJ plugin.
284284
To run the Checkstyle, ErrorProne and SpotBugs plugins on an existing sample, run
285285

286286
```shell
287-
mvn clean verify -DskipTests
287+
mvn clean verify -DskipTests -P lint
288288
```
289289

290290
The `-DskipTests` is optional. It is useful if you want to verify that your code

0 commit comments

Comments
 (0)