Skip to content

Commit

Permalink
Disable module tests for default maven verify runs
Browse files Browse the repository at this point in the history
  • Loading branch information
osulzhenko committed Feb 23, 2024
1 parent 6057195 commit 3010963
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-module-functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
run: mvn package -DskipUnitTests=true --file extra/pom.xml

- name: Run module tests
run: mvn -B verify -DskipUnitTests=true -DskipFunctionalTests=true -Dtests.max-container-count=5 -DdockerfileName=Dockerfile-modules --file extra/pom.xml
run: mvn -B verify -DskipUnitTests=true -DskipFunctionalTests=true -DskipModuleFunctionalTests=false -Dtests.max-container-count=5 -DdockerfileName=Dockerfile-modules --file extra/pom.xml
2 changes: 1 addition & 1 deletion docs/developers/functional-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ You have two options for running modular tests:
1. Use `mvn verify -DdockerfileName=Dockerfile-modules` to include all previous steps (including Java tests and functional tests) because Groovy runs in the `failsafe:integration-test` phase.
2. For modular tests only, use a more granular command:

`mvn -B verify -DskipUnitTests=true -DskipFunctionalTests=true -DdockerfileName=Dockerfile-modules`
`mvn -B verify -DskipUnitTests=true -DskipFunctionalTests=true -DskipModuleFunctionalTests=false -DdockerfileName=Dockerfile-modules`

## Developing

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<gmavenplus-plugin.version>1.13.1</gmavenplus-plugin.version>
<allure-maven.version>2.10.0</allure-maven.version>
<skipFunctionalTests>false</skipFunctionalTests>
<skipModuleFunctionalTests>false</skipModuleFunctionalTests>
<skipModuleFunctionalTests>true</skipModuleFunctionalTests>
<skipUnitTests>false</skipUnitTests>
<os-maven-plugin.version>1.6.2</os-maven-plugin.version>
<build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version>
Expand Down

0 comments on commit 3010963

Please sign in to comment.