diff --git a/action.yml b/action.yml index 4a410ef..096f97c 100644 --- a/action.yml +++ b/action.yml @@ -36,5 +36,5 @@ runs: EXPLICIT_TEST_FRAMEWORK: ${{ inputs.framework }} REPORT_WARNINGS: ${{ inputs.report-warnings }} TARGET_PLATFORM: ${{ inputs.target-platform }} - TEST_FILTER: ${{ inputs.filter }} + TEST_FILTER: ${{ inputs.filter }} run: ${{ github.action_path }}/run-tests.ps1 diff --git a/run-tests.ps1 b/run-tests.ps1 index 917cbee..c78f336 100644 --- a/run-tests.ps1 +++ b/run-tests.ps1 @@ -61,7 +61,7 @@ foreach ($framework in $testFrameworks) { $counter = $counter + 1 - if (($PSVersionTable.Platform -eq 'Unix') -and ($framework.StartsWith("net4"))) { + if (($PSVersionTable.Platform -eq 'Unix') -and ($framework.StartsWith("net4") -or $framework.Contains("-windows"))) { continue }