Skip to content

Use .NET 8 for tests. #22

Use .NET 8 for tests.

Use .NET 8 for tests. #22

Workflow file for this run

name: Test
on:
push:
branches:
- mainstream
pull_request:
branches:
- mainstream
jobs:
test:
# name: Run tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
fail-fast: false
timeout-minutes: 30
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
if: ${{ contains(matrix.os, 'windows') }}
- name: Run the test script
shell: pwsh
run: ./test.ps1
- name: Upload the failed test logs
uses: actions/upload-artifact@v4
with:
name: testlogs-${{ matrix.os }}
path: ./test-logs/
if: ${{ failure() }}