Skip to content

Commit

Permalink
Add check to skip -windows TFMs on Linux (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
bording committed Feb 16, 2024
1 parent d60f2af commit bb81f6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -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
2 changes: 1 addition & 1 deletion run-tests.ps1
Expand Up @@ -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
}

Expand Down

0 comments on commit bb81f6e

Please sign in to comment.