Skip to content

Commit f2959da

Browse files
authored
Make sure coverage is still collected
1 parent 1b61857 commit f2959da

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
cache: 'maven'
3535

3636
- name: test
37-
run: mvn -B clean test -DargLine="-Dengineering.swat.java-watch.mac=${{ matrix.os.mac-backend }}"
37+
run: mvn -B clean test "-Dwatch.mac.backend={{ matrix.os.mac-backend }}"
3838
env:
3939
DELAY_FACTOR: 3
4040

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
<jna.version>5.16.0</jna.version>
7878
<maven.compiler.source>11</maven.compiler.source>
7979
<maven.compiler.target>11</maven.compiler.target>
80+
<watch.mac.backend>fsevents</watch.mac.backend>
8081
</properties>
8182

8283
<build>
@@ -104,6 +105,9 @@
104105
<groupId>org.apache.maven.plugins</groupId>
105106
<artifactId>maven-surefire-plugin</artifactId>
106107
<version>3.5.3</version>
108+
<configuration>
109+
<argLine>@{argLine} -Dengineering.swat.java-watch.mac=@{watch.mac.backend}</argLine>
110+
</configuration>
107111
</plugin>
108112
<plugin> <!-- code coverage -->
109113
<groupId>org.jacoco</groupId>

0 commit comments

Comments
 (0)