Test #962
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ main, v* ] | |
pull_request: | |
branches: [ main, v* ] | |
schedule: | |
- cron: '30 3 * * *' | |
env: | |
dotnetBuildConfiguration: 'Release' | |
dotnetVerbosity: 'Detailed' | |
jobs: | |
test: | |
name: Run all tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: windows-latest | |
- os: macos-latest | |
- os: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET Core SDK | |
uses: actions/setup-dotnet@v4 | |
- name: Dotnet restore | |
run: dotnet restore --verbosity ${{ env.dotnetVerbosity }} | |
shell: pwsh | |
- name: Dotnet test | |
run: dotnet test --configuration ${{ env.dotnetBuildConfiguration }} --collect "Code coverage" | |
shell: pwsh |