Skip to content

Commit 1af4c42

Browse files
committed
Add -Denforcer.skip=true on GitHub Action's workflow
1 parent c38465f commit 1af4c42

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
distribution: ${{ matrix.distribution }}
2727
cache: ${{ matrix.cache }}
2828
- name: Test with Maven
29-
run: ./mvnw test -B -V --no-transfer-progress -D"license.skip=true"
29+
run: ./mvnw test -B -V --no-transfer-progress -D"license.skip=true" -D"enforcer.skip=true"

.github/workflows/coveralls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
PR_NUMBER: ${{ github.event.number }}
2525
- name: Report Coverage to Coveralls for General Push
2626
if: github.event_name == 'push'
27-
run: ./mvnw -B -V test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github --no-transfer-progress
27+
run: ./mvnw -B -V test jacoco:report coveralls:report -q -Dlicense.skip=true -Denforcer.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github --no-transfer-progress
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/support.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ jobs:
4141
distribution: ${{ matrix.distribution }}
4242
- name: Test with Spring Boot Latest
4343
run: |
44-
./mvnw package
44+
./mvnw package -D"enforcer.skip=true"
4545
./mybatis-spring-boot-samples/run_fatjars.sh

0 commit comments

Comments
 (0)