diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 4cee82237b..ca28dda988 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -18,19 +18,19 @@ jobs: # - os: ubuntu-latest # framework: netcoreapp2.1 # runtime: -x64 - # codecov: $false + # codecov: false - os: windows-latest framework: netcoreapp2.1 runtime: -x64 - codecov: $true + codecov: true - os: windows-latest framework: net472 runtime: -x64 - codecov: $false + codecov: false - os: windows-latest framework: net472 runtime: -x86 - codecov: $false + codecov: false runs-on: ${{ matrix.options.os }} diff --git a/test.ps1 b/test.ps1 index 82c3021d20..eace163236 100644 --- a/test.ps1 +++ b/test.ps1 @@ -6,10 +6,10 @@ param( [Parameter(Mandatory, Position = 2)] [string]$platform, [Parameter(Mandatory, Position = 3)] - [bool]$codecov + [string]$codecov ) -if ($codecov -eq $TRUE) { +if ($codecov -eq 'true') { # xunit doesn't understand the CollectCoverage params dotnet clean -c Debug