Skip to content

Commit c0a55b6

Browse files
committed
Replace manual skip flags with -PquickBuild in remaining workflow files
1 parent 6ab80cd commit c0a55b6

7 files changed

+10
-10
lines changed

.github/workflows/java-spanner-jdbc-integration-tests-against-emulator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: .kokoro/build.sh
4343
env:
4444
JOB_TYPE: test
45-
- run: mvn -B -Dspanner.testenv.instance="" -Penable-integration-tests -DtrimStackTrace=false -Dclirr.skip=true -Denforcer.skip=true -fae verify
45+
- run: mvn -B -Dspanner.testenv.instance="" -Penable-integration-tests -DtrimStackTrace=false -PquickBuild -fae verify
4646
working-directory: java-spanner-jdbc
4747
env:
4848
SPANNER_EMULATOR_HOST: localhost:9010

.github/workflows/sdk-platform-java-dependency_compatibility_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
# Install the modules for showcase (Shared-Deps is required to run showcase)
6565
- name: Install sdk-platform-java's modules
6666
# gapic-generator-java requires Java 8 and is irrelevant for this CI
67-
run: mvn -q -B -ntp install --projects '!gapic-generator-java' -Dcheckstyle.skip -Dfmt.skip -DskipTests -Dclirr.skip -T 1C
67+
run: mvn -q -B -ntp install --projects '!gapic-generator-java' -PquickBuild -DskipTests -PquickBuild -T 1C
6868
working-directory: sdk-platform-java
6969

7070
# Set up local showcase server to run the showcase ITs

.github/workflows/sdk-platform-java-java_compatibility_check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
cache: maven
4545
- name: Install sdk-platform-modules to local Maven repository
4646
run: |
47-
mvn install -B -ntp -T 1C -DskipTests -Dclirr.skip -Dcheckstyle.skip -Denforcer.skip
47+
mvn install -B -ntp -T 1C -DskipTests -PquickBuild
4848
working-directory: sdk-platform-java
4949
- name: Check Java 8 compatibility for class files
5050
shell: bash

.github/workflows/sdk-platform-java-nightly.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
cache: maven
4141
- run: mvn -version
4242
- name: Install
43-
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip -Dfmt.skip
43+
run: mvn install --errors --batch-mode --no-transfer-progress -PquickBuild
4444
- name: Create issue if previous step fails
4545
if: ${{ failure() }}
4646
env:
@@ -67,7 +67,7 @@ jobs:
6767
cache: maven
6868
- run: mvn -version
6969
- name: Install with Java 11
70-
run: mvn install --errors --batch-mode --no-transfer-progress -Dcheckstyle.skip -DskipTests -Dfmt.skip
70+
run: mvn install --errors --batch-mode --no-transfer-progress -PquickBuild -DskipTests -PquickBuild
7171

7272
- uses: actions/setup-java@v5
7373
with:

.github/workflows/sdk-platform-java-shared_dependencies.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- run: java -version
3939
- name: Install maven modules
4040
run: |
41-
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip
41+
mvn install -B -ntp -DskipTests -PquickBuild
4242
- name: Check the BOM content satisfies the upper-bound-check test case
43-
run: mvn -B -V -ntp verify -Dcheckstyle.skip
43+
run: mvn -B -V -ntp verify -PquickBuild
4444
working-directory: sdk-plaform-java/java-shared-dependencies/upper-bound-check

.github/workflows/sdk-platform-java-sonar.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
7474
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
7575
run: |
76-
mvn -B verify -Dcheckstyle.skip \
76+
mvn -B verify -PquickBuild \
7777
-DenableFullTestCoverage \
7878
-Penable-integration-tests \
7979
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
@@ -85,7 +85,7 @@ jobs:
8585
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
8686
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
8787
run: |
88-
mvn -B clean verify -Dcheckstyle.skip \
88+
mvn -B clean verify -PquickBuild \
8989
-DskipUnitTests \
9090
-Penable-integration-tests \
9191
-DenableShowcaseTestCoverage \

.github/workflows/unmanaged_dependency_check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
java-version: 11
1313
- name: Install modules
1414
shell: bash
15-
run: mvn install -B -ntp -T 1C -DskipTests -Dclirr.skip -Dcheckstyle.skip -Denforcer.skip
15+
run: mvn install -B -ntp -T 1C -DskipTests -PquickBuild
1616
- name: Unmanaged dependency check
1717
uses: ./sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check
1818
with:

0 commit comments

Comments
 (0)