Skip to content

Commit 4d460fb

Browse files
Create test.yml
1 parent b633a1b commit 4d460fb

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/test.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will build a .NET project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3+
4+
name: test
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches: [ master ]
9+
paths-ignore:
10+
- "*.md"
11+
- ".github/**"
12+
pull_request:
13+
branches: [ master ]
14+
paths-ignore:
15+
- "*.md"
16+
- ".github/**"
17+
18+
jobs:
19+
build-and-test:
20+
strategy:
21+
matrix:
22+
dotnet:
23+
- version: '6.0.x'
24+
framework: 'net6.0'
25+
- version: '7.0.x'
26+
framework: 'net7.0'
27+
- version: '8.0.x'
28+
framework: 'net8.0'
29+
- version: '9.0.x'
30+
framework: 'net9.0'
31+
configuration: [ 'Debug', 'Release' ]
32+
uses: ./.github/workflows/build-and-test.yml
33+
with:
34+
dotnet-version: ${{ matrix.dotnet.version }}
35+
dotnet-framework: ${{ matrix.dotnet.framework }}
36+
configuration: ${{ matrix.configuration }}
37+

0 commit comments

Comments
 (0)