Skip to content

Commit

Permalink
CI - improved readability
Browse files Browse the repository at this point in the history
  • Loading branch information
tmenier authored Jan 1, 2025
1 parent c62605b commit aa7bd45
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ on:
branches: ["dev", "master"]
workflow_dispatch: # manual trigger

env:
DOTNET_ARGS: >
-c Release
/p:CollectCoverage=true
/p:Threshold=80
/p:Include="[Flurl]*%2C[Flurl.Http]*%2C[Flurl.Http.Newtonsoft]*"
/p:Exclude="[*]*.GeneratedExtensions"
jobs:
build-test-ubuntu:
runs-on: ubuntu-latest
Expand All @@ -23,7 +31,7 @@ jobs:
run: dotnet restore

- name: Test
run: dotnet test --framework net6.0 -c Release /p:CollectCoverage=true /p:Threshold=80 /p:Include=\"[Flurl]*,[Flurl.Http]*,[Flurl.Http.Newtonsoft]*\" /p:Exclude="[*]*.GeneratedExtensions"
run: dotnet test --framework net6.0 $DOTNET_ARGS

build-test-windows:
runs-on: windows-latest
Expand All @@ -38,4 +46,4 @@ jobs:
run: dotnet restore

- name: Test
run: dotnet test --framework ${{ matrix.framework }} -c Release /p:CollectCoverage=true /p:Threshold=80 /p:Include="[Flurl]*%2c[Flurl.Http]*%2c[Flurl.Http.Newtonsoft]*" /p:Exclude="[*]*.GeneratedExtensions"
run: dotnet test --framework ${{ matrix.framework }} $DOTNET_ARGS

0 comments on commit aa7bd45

Please sign in to comment.