Skip to content

Commit b6c3827

Browse files
committed
update
1 parent 3e9e65f commit b6c3827

File tree

3 files changed

+68
-29
lines changed

3 files changed

+68
-29
lines changed

.github/workflows/samples-dotnet-appveyor.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,14 @@ name: Samples C# .Net Client (from AppVeyor)
33
on:
44
push:
55
paths:
6-
# the .NET Core 3.0 runtime is no longer supported as it reached its end-of-life on March 3, 2020
7-
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/**
8-
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/**
9-
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/**
10-
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/**
11-
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/**
12-
- samples/client/petstore/csharp/restsharp/net8/EnumMappings/**
13-
- samples/client/petstore/csharp/restsharp/net8/Petstore/**
14-
- samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/**
15-
- samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/**
166
- samples/client/petstore/csharp/restsharp/standard2.0/Petstore/**
177
pull_request:
188
paths:
19-
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/**
20-
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/**
21-
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/**
22-
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/**
23-
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/**
24-
- samples/client/petstore/csharp/restsharp/net8/EnumMappings/**
25-
- samples/client/petstore/csharp/restsharp/net8/Petstore/**
26-
- samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/**
27-
- samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/**
289
- samples/client/petstore/csharp/restsharp/standard2.0/Petstore/**
2910
jobs:
3011
build:
3112
name: Build clients (migrated from AppVeyor)
32-
runs-on: windows-latest
13+
runs-on: ubuntu-latest
3314
services:
3415
petstore-api:
3516
image: swaggerapi/petstore
@@ -42,15 +23,6 @@ jobs:
4223
fail-fast: false
4324
matrix:
4425
sample:
45-
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/
46-
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/
47-
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/
48-
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/
49-
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/
50-
- samples/client/petstore/csharp/restsharp/net8/EnumMappings/
51-
- samples/client/petstore/csharp/restsharp/net8/Petstore/
52-
- samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/
53-
- samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/
5426
- samples/client/petstore/csharp/restsharp/standard2.0/Petstore/
5527
steps:
5628
- uses: actions/checkout@v5
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Samples C# .Net Client (from AppVeyor)
2+
3+
on:
4+
push:
5+
paths:
6+
# the .NET Core 3.0 runtime is no longer supported as it reached its end-of-life on March 3, 2020
7+
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/**
8+
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/**
9+
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/**
10+
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/**
11+
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/**
12+
- samples/client/petstore/csharp/restsharp/net8/EnumMappings/**
13+
- samples/client/petstore/csharp/restsharp/net8/Petstore/**
14+
- samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/**
15+
- samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/**
16+
- samples/client/petstore/csharp/restsharp/standard2.0/Petstore/**
17+
pull_request:
18+
paths:
19+
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/**
20+
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/**
21+
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/**
22+
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/**
23+
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/**
24+
- samples/client/petstore/csharp/restsharp/net8/EnumMappings/**
25+
- samples/client/petstore/csharp/restsharp/net8/Petstore/**
26+
- samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/**
27+
- samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/**
28+
- samples/client/petstore/csharp/restsharp/standard2.0/Petstore/**
29+
jobs:
30+
build:
31+
name: Build clients (migrated from AppVeyor)
32+
runs-on: windows-latest
33+
services:
34+
petstore-api:
35+
image: swaggerapi/petstore
36+
ports:
37+
- 80:8080
38+
env:
39+
SWAGGER_HOST: http://petstore.swagger.io
40+
SWAGGER_BASE_PATH: /v2
41+
strategy:
42+
fail-fast: false
43+
matrix:
44+
sample:
45+
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/
46+
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/
47+
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/
48+
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/
49+
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/
50+
- samples/client/petstore/csharp/restsharp/net8/EnumMappings/
51+
- samples/client/petstore/csharp/restsharp/net8/Petstore/
52+
- samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/
53+
- samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/
54+
- samples/client/petstore/csharp/restsharp/standard2.0/Petstore/
55+
steps:
56+
- uses: actions/checkout@v5
57+
- uses: actions/[email protected]
58+
with:
59+
dotnet-version: '7.0.x'
60+
- name: Build
61+
working-directory: ${{ matrix.sample }}
62+
run: dotnet build Org.OpenAPITools.sln
63+
- name: Test
64+
working-directory: ${{ matrix.sample }}
65+
run: dotnet test Org.OpenAPITools.sln

samples/client/petstore/csharp/restsharp/standard2.0/Petstore/.openapi-generator-ignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
# This test file has changes required for testing and should not be overwritten
33
src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj
44

5+
6+

0 commit comments

Comments
 (0)