-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 1.04 KB
/
Copy pathci.yml
File metadata and controls
40 lines (33 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
# Exercises the library's net8.0 asset (modern SocketsHttpHandler path).
test-modern:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
10.0.x
- name: Test (net10.0)
run: dotnet test src/SimpleHttpClient.Tests.Integration/SimpleHttpClient.Tests.csproj -c Release -f net10.0
# Exercises the library's netstandard2.0 asset (rotating path + .NET Framework branch)
# that .NET Framework consumers actually receive. Requires a Windows runner.
test-netfx:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
10.0.x
- name: Test (net48)
run: dotnet test src/SimpleHttpClient.Tests.Integration/SimpleHttpClient.Tests.csproj -c Release -f net48