Skip to content

Commit ae3e5fa

Browse files
committed
chore: Fix build ci
Signed-off-by: Javier Aliaga <[email protected]>
1 parent ddbecba commit ae3e5fa

File tree

3 files changed

+16
-20
lines changed

3 files changed

+16
-20
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,14 @@ jobs:
112112
wget -q ${{ env.TOXIPROXY_URL }} -O /home/runner/.local/bin/toxiproxy-server
113113
chmod +x /home/runner/.local/bin/toxiproxy-server
114114
/home/runner/.local/bin/toxiproxy-server --version
115-
- name: Clean up files
116-
run: ./mvnw clean -B
117-
- name: Build sdk
118-
run: ./mvnw compile -B -q
115+
- name: Clean up and install sdk
116+
run: ./mvnw clean install -B -q -DskipTests
119117
- name: Unit tests
120118
run: ./mvnw test # making it temporarily verbose.
121119
env:
122120
DOCKER_HOST: ${{steps.setup_docker.outputs.sock}}
123121
- name: Codecov
124122
uses: codecov/[email protected]
125-
- name: Install jars
126-
run: ./mvnw install -q -B -DskipTests
127123
- name: Integration tests using spring boot version ${{ matrix.spring-boot-version }}
128124
id: integration_tests
129125
run: PRODUCT_SPRING_BOOT_VERSION=${{ matrix.spring-boot-version }} ./mvnw -B -Pintegration-tests verify

pom.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,8 @@
414414
<goal>verify</goal>
415415
</goals>
416416
<configuration>
417-
<!--suppress UnresolvedMavenProperty -->
418-
<skip>${skipITs}</skip>
417+
<!--suppress UnresolvedMavenProperty -->
418+
<skip>${skipITs}</skip>
419419
</configuration>
420420
</execution>
421421
</executions>
@@ -658,6 +658,18 @@
658658
<modules>
659659
<module>sdk-tests</module>
660660
</modules>
661+
<build>
662+
<plugins>
663+
<plugin>
664+
<groupId>org.apache.maven.plugins</groupId>
665+
<artifactId>maven-surefire-plugin</artifactId>
666+
<configuration>
667+
<skipTests>true</skipTests>
668+
</configuration>
669+
</plugin>
670+
</plugins>
671+
</build>
672+
661673
</profile>
662674
</profiles>
663675

sdk-tests/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -315,18 +315,6 @@
315315
<groupId>org.apache.maven.plugins</groupId>
316316
<artifactId>maven-failsafe-plugin</artifactId>
317317
<version>3.2.2</version>
318-
<executions>
319-
<execution>
320-
<goals>
321-
<goal>integration-test</goal>
322-
<goal>verify</goal>
323-
</goals>
324-
<configuration>
325-
<!--suppress UnresolvedMavenProperty -->
326-
<skip>${skipITs}</skip>
327-
</configuration>
328-
</execution>
329-
</executions>
330318
</plugin>
331319
</plugins>
332320
</build>

0 commit comments

Comments
 (0)