chore(test deps): update testing dependencies - autoclosed #2676
Workflow file for this run
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: .NET Testing | |
on: | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
test: | |
name: Test (.NET ${{ matrix.version }}) | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
version: | |
- 6.x | |
- 7.x | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.version }} | |
- name: Setup dotnet tools | |
run: dotnet tool restore | |
- name: Test | |
run: dotnet test --configuration Release | |
result: | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
name: Results | |
needs: [ test ] | |
steps: | |
- run: | | |
result="${{ needs.test.result }}" | |
if [[ $result == "success" || $result == "skipped" ]]; then | |
exit 0 | |
else | |
exit 1 | |
fi |