Skip to content

Commit

Permalink
adding OpenCV exclusion to pom :(
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Dec 6, 2023
1 parent c7f001b commit 6177926
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Dependency Test # installs all dependencies
run: mvn test -Dtest=org.myrobotlab.framework.DependencyTest -q
- name: Build with Maven # currently cannot test opencv
run: mvn -Dtest=!**/OpenCV* test surefire-report:report jacoco:report -q
run: mvn --batch-mode test surefire-report:report jacoco:report -q

- name: Get next version
uses: reecetech/[email protected]
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2042,7 +2042,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<version>2.22.2</version>
<version>2.18</version>
<configuration>
<!-- critical for jacoco to have original argLine prefixed here-->
<argLine>${argLine} -Djava.library.path=libraries/native
Expand All @@ -2052,6 +2052,7 @@
</includes>
<excludes>
<exclude>**/integration/*</exclude>
<exclude>**/OpenCV*</exclude>
</excludes>
<systemPropertyVariables>
</systemPropertyVariables>
Expand Down

0 comments on commit 6177926

Please sign in to comment.