Browse Source

Use strings

af/merge-core
James Jackson-South 6 years ago
parent
commit
6eedbf7989
  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 # - os: ubuntu-latest
# framework: netcoreapp2.1 # framework: netcoreapp2.1
# runtime: -x64 # runtime: -x64
# codecov: $false # codecov: false
- os: windows-latest - os: windows-latest
framework: netcoreapp2.1 framework: netcoreapp2.1
runtime: -x64 runtime: -x64
codecov: $true codecov: true
- os: windows-latest - os: windows-latest
framework: net472 framework: net472
runtime: -x64 runtime: -x64
codecov: $false codecov: false
- os: windows-latest - os: windows-latest
framework: net472 framework: net472
runtime: -x86 runtime: -x86
codecov: $false codecov: false
runs-on: ${{ matrix.options.os }} runs-on: ${{ matrix.options.os }}

4
test.ps1

@ -6,10 +6,10 @@ param(
[Parameter(Mandatory, Position = 2)] [Parameter(Mandatory, Position = 2)]
[string]$platform, [string]$platform,
[Parameter(Mandatory, Position = 3)] [Parameter(Mandatory, Position = 3)]
[bool]$codecov [string]$codecov
) )
if ($codecov -eq $TRUE) { if ($codecov -eq 'true') {
# xunit doesn't understand the CollectCoverage params # xunit doesn't understand the CollectCoverage params
dotnet clean -c Debug dotnet clean -c Debug

Loading…
Cancel
Save