From 065c986f325fca6a2749ae65a2ccc2c5fc9f0c09 Mon Sep 17 00:00:00 2001 From: Paul Selormey Date: Fri, 26 Jan 2024 00:51:00 +0900 Subject: [PATCH] Update runtests.yml - Run tests in release mode (as the benchmark) - Upgraded the actions/checkout (v2 to v4) --- .github/workflows/runtests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/runtests.yml b/.github/workflows/runtests.yml index 7d35db698..fe3c3b962 100644 --- a/.github/workflows/runtests.yml +++ b/.github/workflows/runtests.yml @@ -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 @@ -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 }} @@ -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