Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d758e40

Browse files
authoredApr 5, 2024
Wrapping up interceptors, fixing typos, removing Moq (#2141)
* Wrapping up interceptors, fixing typos, removing Moq * Fix the readme issue * Added compatibility interceptor * Added docs * Updated packages * Refactoring tests to WireMock * Added matrix
1 parent 1c86286 commit d758e40

File tree

109 files changed

+2154
-1601
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+2154
-1601
lines changed
 

‎.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ assignees: ''
99

1010
**DO NOT USE ISSUES FOR QUESTIONS**
1111

12+
Note: New issues raised, where it is clear the submitter has not read the issue template,
13+
are likely to be closed with `invalid` label. Please understand that this is not meant to be rude,
14+
but to keep the issue list clean and useful for everyone. If one opening the issue decides to ignore the issue template,
15+
the maintainers might also decide to ignore the issue.
16+
17+
**Remove** all the text above the next line when submitting your issue.
18+
1219
**Describe the bug**
1320
A clear and concise description of what the bug is.
1421
Hint: use a tool like https://requestbin.com to compare working and non-working requests.
@@ -22,14 +29,13 @@ A clear and concise description of what you expected to happen.
2229
Post the working request here as well if you made it work using Postman, Swagger, or any other client.
2330
You can use https://requestbin.com/r to create a public request bin and share the link in the issue.
2431

25-
2632
**Stack trace**
2733
Copy the full stack trace here if you get an exception.
2834

2935
**Desktop (please complete the following information):**
3036
- OS: [e.g. macOS]
31-
- .NET version [e.g. .NET 5]
32-
- Version [e.g. 107.0.4]
37+
- .NET version [e.g. .NET 6]
38+
- Version [e.g. 110.2.0]
3339

3440
**Additional context**
3541
Add any other context about the problem here.

‎.github/workflows/pull-request.yml

Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,76 @@ on: [pull_request]
44

55
permissions:
66
contents: read
7+
checks: write
78

89
jobs:
9-
test:
10+
event_file:
11+
name: "Event File"
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Upload
15+
uses: actions/upload-artifact@v4
16+
with:
17+
name: Event File
18+
path: ${{ github.event_path }}
19+
test-windows:
1020
runs-on: windows-latest
21+
strategy:
22+
matrix:
23+
dotnet: ['net48', 'net6.0', 'net7.0', 'net8.0']
24+
25+
steps:
26+
-
27+
name: Checkout
28+
uses: actions/checkout@v4
29+
# -
30+
# name: Setup .NET
31+
# uses: actions/setup-dotnet@v3
32+
# with:
33+
# dotnet-version: '8.0'
34+
-
35+
name: Run tests
36+
run: dotnet test -f ${{ matrix.dotnet }}
37+
-
38+
name: Upload Test Results
39+
if: always()
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: Test Results Windows ${{ matrix.dotnet }}
43+
path: |
44+
test-results/**/*.xml
45+
test-results/**/*.trx
46+
test-results/**/*.json
47+
48+
test-linux:
49+
runs-on: ubuntu-latest
50+
strategy:
51+
matrix:
52+
dotnet: ['net6.0', 'net7.0', 'net8.0']
1153

1254
steps:
1355
-
1456
name: Checkout
1557
uses: actions/checkout@v3
16-
-
17-
name: Setup .NET
18-
uses: actions/setup-dotnet@v3
19-
with:
20-
dotnet-version: '7.0'
58+
# -
59+
# name: Setup .NET
60+
# uses: actions/setup-dotnet@v3
61+
# with:
62+
# dotnet-version: '8.0'
2163
-
2264
name: Run tests
23-
run: dotnet test -c Release
24-
65+
run: dotnet test -f ${{ matrix.dotnet }}
66+
-
67+
name: Upload Test Results
68+
if: always()
69+
uses: actions/upload-artifact@v4
70+
with:
71+
name: Test Results Ubuntu ${{ matrix.dotnet }}
72+
path: |
73+
test-results/**/*.xml
74+
test-results/**/*.trx
75+
test-results/**/*.json
76+
2577
docs:
2678
runs-on: ubuntu-latest
2779

0 commit comments

Comments
 (0)
Please sign in to comment.