Browse Source

Use strings

pull/1061/head
James Jackson-South 6 years ago
parent
commit
b3430926be
  1. 8
      .github/workflows/build-and-test.yml
  2. 4
      test.ps1

8
.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 }}

4
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

Loading…
Cancel
Save