Skip to content

Commit

Permalink
chore: skip container tests only on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
thisislawatts committed Apr 2, 2024
1 parent 6fd3326 commit 2009fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
if: ${{ matrix.os == 'windows' }}
run: mvn -B invoker:install invoker:run
env:
POM_EXCLUDE_PATTERN: "test-container-test/pom.xml"
SNYK_TEST_TOKEN: ${{secrets.SNYK_TEST_TOKEN}}
SNYK_CLI_EXECUTABLE: "C:\\npm\\prefix\\snyk.cmd"
SNYK_DOWNLOAD_DESTINATION: "downloads\\snyk.exe"
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
<pomExcludes>
<pomExclude>test-container-test/pom.xml</pomExclude>
<pomExclude>${env.POM_EXCLUDE_PATTERN}</pomExclude>
</pomExcludes>
<preBuildHookScript>setup</preBuildHookScript>
<postBuildHookScript>verify</postBuildHookScript>
Expand Down

0 comments on commit 2009fc5

Please sign in to comment.