Skip to content

Commit 6e6dcf8

Browse files
authored
Allow skipping spotless (#1468)
1 parent f8e7670 commit 6e6dcf8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ubuntu-maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
maven-version: ${{ env.MAVEN_VERSION }}
4747

4848
- name: 'Priming build with Maven'
49-
run: mvn -B -V -fae -DskipTests -DskipITs -DskipQA=true install
49+
run: mvn -B -V -fae -DskipTests -DskipITs -DskipQA=true -Dspotless.apply.skip install
5050

5151
- name: 'Test with Maven'
5252
run: |
@@ -105,7 +105,7 @@ jobs:
105105
run: ./build/ci/testdata-setup.sh
106106

107107
- name: 'Test PostgreSQL with Maven'
108-
run: mvn -B -fae -e -DskipQA=true -Pqa-skip -Ddocker.skip=true -Ppostgresql verify -Dspring-boot.run.profiles=dev,populate-testdata,postgresql -Dspring-boot.run.arguments=--spatial.dbs.connect=true
108+
run: mvn -B -fae -e -DskipQA=true -Pqa-skip -Dspotless.apply.skip -Ddocker.skip=true -Ppostgresql verify -Dspring-boot.run.profiles=dev,populate-testdata,postgresql -Dspring-boot.run.arguments=--spatial.dbs.connect=true
109109

110110
- name: 'Upload test results'
111111
uses: actions/upload-artifact@v5

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,6 +1267,7 @@ SPDX-License-Identifier: MIT
12671267
<enabled>true</enabled>
12681268
<indexFile>${project.basedir}/.spotless-index</indexFile>
12691269
</upToDateChecking>
1270+
<skip>${skipQA}</skip>
12701271
</configuration>
12711272
<executions>
12721273
<execution>

0 commit comments

Comments
 (0)