Skip to content

Commit 73f14cd

Browse files
authored
V9.0.0/finalize xunit migration (#83)
* 💥 Cuemon.Extensions.Xunit, Cuemon.Extensions.Xunit.Hosting and Cuemon.Extensions.Xunit.Hosting.AspNetCore was removed from the Cuemon assembly family * ➖ .NET 6 is no longer supported due to EOL (same day .NET 9 is released) * 👷 have to sign assemblies in test due to strong-named assembly reference (Codebelt.Extensions.Xunit.* relies on some core assemblies from Cuemon .. circular catch-22?)
1 parent 87ca104 commit 73f14cd

File tree

469 files changed

+751
-3683
lines changed

Some content is hidden

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

469 files changed

+751
-3683
lines changed

.docfx/api/extensions/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Here is a collection of various non-Microsoft APIs that was adapted by Cuemon fo
1515

1616
Complements: [xUnit.net](https://github.com/xunit/xunit) 🔗
1717

18+
Moved to: [Extensions for xUnit API by Codebelt](https://github.com/codebeltnet/xunit)
19+
1820
## Json.NET API
1921

2022
I am a huge fan of [Json.NET](https://www.newtonsoft.com/json) written by [James Newton-King](https://github.com/JamesNK) and the flexible architecture this JSON framework adds to the toolbelt.

.docfx/api/namespaces/Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Complements: [AWS Signature Version 4](https://docs.aws.amazon.com/general/lates
1616

1717
### CSharp Example
1818
```csharp
19-
using var mw = MiddlewareTestFactory.Create();
19+
using var mw = WebHostTestFactory.Create();
2020
var context = mw.ServiceProvider.GetRequiredService<IHttpContextAccessor>().HttpContext;
2121

2222
var timestamp = DateTime.Parse("2022-07-10T12:50:42.2737531Z"); // <-- change this to valid date/time

.docfx/api/namespaces/Cuemon.Extensions.Xunit.Hosting.AspNetCore.Http.Features.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.docfx/api/namespaces/Cuemon.Extensions.Xunit.Hosting.AspNetCore.Http.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.docfx/api/namespaces/Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.docfx/api/namespaces/Cuemon.Extensions.Xunit.Hosting.AspNetCore.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.docfx/api/namespaces/Cuemon.Extensions.Xunit.Hosting.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.docfx/api/namespaces/Cuemon.Extensions.Xunit.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.docfx/docfx.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -134,23 +134,6 @@
134134
"TargetFramework": "net8.0"
135135
}
136136
},
137-
{
138-
"src": [
139-
{
140-
"files": [
141-
"Cuemon.Extensions.Xunit/**.csproj",
142-
"Cuemon.Extensions.Xunit.Hosting/**.csproj",
143-
"Cuemon.Extensions.Xunit.Hosting.AspNetCore/**.csproj"
144-
],
145-
"src": "../src"
146-
}
147-
],
148-
"dest": "api/extensions/xunit",
149-
"filter": "filterConfig.yml",
150-
"properties": {
151-
"TargetFramework": "net8.0"
152-
}
153-
},
154137
{
155138
"src": [
156139
{

.github/workflows/pipelines.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
strategy:
7070
matrix:
7171
configuration: [Debug, Release]
72-
framework: [net9.0, net8.0, net6.0, netstandard2.1, netstandard2.0]
72+
framework: [net9.0, net8.0, netstandard2.1, netstandard2.0]
7373
needs: [prepare_linux]
7474
outputs:
7575
version: ${{ steps.minver-calculate.outputs.version }}
@@ -125,8 +125,6 @@ jobs:
125125
"src/**/Cuemon.Extensions.Text.csproj"
126126
"src/**/Cuemon.Extensions.Threading.csproj"
127127
"src/**/Cuemon.Extensions.Xml.csproj"
128-
"src/**/Cuemon.Extensions.Xunit.csproj"
129-
"src/**/Cuemon.Extensions.Xunit.Hosting.csproj"
130128
"src/**/Cuemon.Extensions.YamlDotNet.csproj"
131129
"src/**/Cuemon.IO.csproj"
132130
"src/**/Cuemon.Net.csproj"
@@ -202,6 +200,13 @@ jobs:
202200
with:
203201
includePreview: true
204202

203+
- name: Download cuemon.snk file
204+
uses: codebeltnet/gcp-download-file@v1
205+
with:
206+
serviceAccountKey: ${{ secrets.GCP_TOKEN }}
207+
bucketName: ${{ secrets.GCP_BUCKETNAME }}
208+
objectName: cuemon.snk
209+
205210
- name: Install .NET Tool - Report Generator
206211
uses: codebeltnet/dotnet-tool-install-reportgenerator@v1
207212

@@ -226,7 +231,6 @@ jobs:
226231
projects: ${{ matrix.project }}
227232
configuration: ${{ matrix.configuration }}
228233
restoreCacheKey: ${{ runner.os == 'Linux' && needs.prepare_linux.outputs.restoreCacheKey || needs.prepare_windows.outputs.restoreCacheKey }}
229-
buildSwitches: -p:SkipSignAssembly=true
230234
level: normal
231235
env:
232236
CONNECTIONSTRINGS__ADVENTUREWORKS: ${{ secrets.DB_ADVENTUREWORKS }}

0 commit comments

Comments
 (0)