Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aschuhardt authored Oct 4, 2023
1 parent 740087d commit 172768b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
strategy:
matrix:
framework: [ netstandard2.0, net6.0, net7.0 ]
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ matrix.framework == 'net6.0' && '6.0.x' || '7.0.x' }}
- name: Run Tests
run: dotnet test -f ${{ matrix.framework }}

0 comments on commit 172768b

Please sign in to comment.