Skip to content

Commit 3c6579f

Browse files
authored
chore: cleanup CI yml (#219)
1 parent f693099 commit 3c6579f

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,11 @@ on:
77
branches:
88
- main
99
jobs:
10-
build-debug:
11-
strategy:
12-
matrix:
13-
os: [ubuntu-latest, windows-latest, macos-latest]
14-
runs-on: ${{ matrix.os }}
15-
steps:
16-
- uses: actions/checkout@v3
17-
with:
18-
fetch-depth: 0
19-
- name: Setup .NET 6
20-
uses: actions/setup-dotnet@v3
21-
with:
22-
dotnet-version: 6.0.x
23-
- run: dotnet test --configuration Debug --filter 'TestCategory=Completed' /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura
2410
build:
2511
strategy:
2612
matrix:
2713
os: [ubuntu-latest, windows-latest, macos-latest]
14+
config: [Debug, Release]
2815
runs-on: ${{ matrix.os }}
2916
steps:
3017
- uses: actions/checkout@v3
@@ -34,5 +21,4 @@ jobs:
3421
uses: actions/setup-dotnet@v3
3522
with:
3623
dotnet-version: 6.0.x
37-
- run: dotnet test --configuration Release --filter 'TestCategory=Completed' /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura
38-
- run: dotnet pack src/FluentAssertions.Analyzers/FluentAssertions.Analyzers.csproj
24+
- run: dotnet test --configuration ${{ matrix.config }} --filter 'TestCategory=Completed' /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura

0 commit comments

Comments
 (0)