Skip to content

Commit 7e0ac6d

Browse files
authored
CI - lots of things wrong, try that again
1 parent f4f549d commit 7e0ac6d

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,31 @@ on:
88
workflow_dispatch: # manual trigger
99

1010
jobs:
11-
build_test:
12-
strategy:
13-
matrix:
14-
os: [ubuntu-latest, windows-latest]
15-
framework: [net6.0, net481, net461]
16-
runs-on: ${{ matrix.os }}
11+
build-test-ubuntu:
12+
runs-on: ubuntu-latest
1713
steps:
1814
- name: Checkout
1915
uses: actions/checkout@v4
2016

2117
- name: Setup .NET
2218
uses: actions/setup-dotnet@v4
2319
with:
24-
dotnet-version: |
25-
6.0.x
26-
4.8.1
27-
4.6.1
20+
dotnet-version: 6.0.x
21+
22+
- name: Restore dependencies
23+
run: dotnet restore
24+
25+
- name: Test
26+
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"
27+
28+
build-test-windows:
29+
runs-on: windows-latest
30+
strategy:
31+
matrix:
32+
framework: [net481, net461]
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v4
2836

2937
- name: Restore dependencies
3038
run: dotnet restore

0 commit comments

Comments
 (0)