Skip to content

Commit

Permalink
Update runtests.yml
Browse files Browse the repository at this point in the history
- Run tests in release mode (as the benchmark)
- Upgraded the actions/checkout (v2 to v4)
  • Loading branch information
paulushub committed Jan 25, 2024
1 parent 9e4df9f commit 065c986
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
framework: [net8.0, net6.0, netcoreapp3.1, net462]
steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for GitVersioning to work
- name: Setup NuGet
Expand All @@ -45,7 +45,7 @@ jobs:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
run: |
dotnet test --framework ${{ matrix.framework }} Tests/Svg.UnitTests/Svg.UnitTests.csproj
dotnet test -c Release -f ${{ matrix.framework }} Tests/Svg.UnitTests/Svg.UnitTests.csproj
benchmark:
runs-on: ${{ matrix.os }}
Expand All @@ -57,7 +57,7 @@ jobs:
framework: [net8.0]
steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup NuGet
Expand Down

0 comments on commit 065c986

Please sign in to comment.