File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 2222 with :
2323 java-version : ${{ matrix.java }}
2424 - name : Run unit tests
25- run : mvn -B test -P no-integration-tests - -file pom.xml
25+ run : mvn -B test --file pom.xml
2626 - name : Set up Minikube
2727 uses : manusa/actions-setup-minikube@v2.3.0
2828 with :
Original file line number Diff line number Diff line change 2424 - name : Check code format
2525 run : mvn fmt:check --file pom.xml
2626 - name : Run unit tests
27- run : mvn -B test -P no-integration-tests - -file pom.xml
27+ run : mvn -B test --file pom.xml
2828 - name : Set up Minikube
2929 uses : manusa/actions-setup-minikube@v2.3.0
3030 with :
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ version can be found under `samples/mysql-schema/README.md`.
2020
21211 . Setup kubectl to work with your Kubernetes cluster of choice.
22221 . Apply Custom Resource Definition
23- 1 . Compile the whole project (framework + samples) using ` mvn install -P no-integration-tests ` in the root directory
23+ 1 . Compile the whole project (framework + samples) using ` mvn install ` in the root directory
24241 . Run the main class of the sample you picked and check out the sample's README to see what it does.
2525When run locally the framework will use your Kubernetes client configuration (in ~ /.kube/config) to make the connection
2626to the cluster. This is why it was important to set up kubectl up front.
Original file line number Diff line number Diff line change 117117 <version >${surefire.version} </version >
118118 <configuration >
119119 <includes >
120- <include >**/*IT.java</include >
121120 <include >**/*Test.java</include >
122121 </includes >
122+ <excludes >
123+ <exclude >**/*IT.java</exclude >
124+ </excludes >
123125 </configuration >
124126 </plugin >
125127 <plugin >
143145
144146 <profiles >
145147 <profile >
146- <id >no-integration -tests</id >
148+ <id >all -tests</id >
147149 <build >
148150 <plugins >
149151 <plugin >
153155 <configuration >
154156 <includes >
155157 <include >**/*Test.java</include >
158+ <include >**/*IT.java</include >
156159 </includes >
157- <excludes >
158- <exclude >**/*IT.java</exclude >
159- </excludes >
160160 </configuration >
161161 </plugin >
162162 </plugins >
172172 <version >${surefire.version} </version >
173173 <configuration >
174174 <includes >
175- <exclude >**/*IT.java</exclude >
175+ <include >**/*IT.java</include >
176176 </includes >
177177 <excludes >
178- <include >**/*Test.java</include >
178+ <exclude >**/*Test.java</exclude >
179179 </excludes >
180180 </configuration >
181181 </plugin >
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ the [Container Registry](https://cloud.google.com/container-registry/) in Google
5050
51511. The following Maven command will build the jar file, package it as a Docker image and push it to the registry.
5252
53- ` mvn -P no-integration-tests package dockerfile:build dockerfile:push`
53+ ` mvn package dockerfile:build dockerfile:push`
5454
55551. Deploy the test MySQL on your cluster if you want to use it. Note that if you have an already running MySQL server
5656you want to use, you can skip this step, but you will have to configure the operator to use that server.
You can’t perform that action at this time.
0 commit comments