Skip to content

Commit 2d306b5

Browse files
Merge pull request #35 from henrikhimself/develop
Develop
2 parents fd2efe6 + d47f6d5 commit 2d306b5

53 files changed

Lines changed: 1125 additions & 131 deletions

Some content is hidden

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

.aspire/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"appHostPath": "../examples/Aspire.AppHost/Examples.Aspire.AppHost.csproj"
3+
}

.config/dotnet-tools.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"dotnet-reportgenerator-globaltool": {
6+
"version": "4.8.13",
7+
"commands": [
8+
"reportgenerator"
9+
]
10+
}
11+
}
12+
}

.github/workflows/cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
packages: read
1313

1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@v6
1616
- name: Setup CodeQL
17-
uses: github/codeql-action/init@v3
17+
uses: github/codeql-action/init@v4
1818
with:
1919
languages: csharp
2020
build-mode: none
@@ -23,10 +23,10 @@ jobs:
2323
with:
2424
dotnet-version: |
2525
8.0.x
26-
9.0.x
26+
10.0.x
2727
- name: Restore
2828
run: dotnet restore
2929
- name: Build
3030
run: dotnet build --no-restore
3131
- name: CodeQL Analysis
32-
uses: github/codeql-action/analyze@v3
32+
uses: github/codeql-action/analyze@v4

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v5
11+
- uses: actions/checkout@v6
1212
- name: Setup
1313
uses: actions/setup-dotnet@v5
1414
with:
1515
dotnet-version: |
1616
8.0.x
17-
9.0.x
17+
10.0.x
1818
- name: Build
1919
run: dotnet build
2020
- name: Test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.attic
2+
TestReport
23

34
## Visual Studio
45
# User-specific files

.runsettings

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<RunSettings>
3+
<RunConfiguration>
4+
<MaxCpuCount>0</MaxCpuCount>
5+
</RunConfiguration>
6+
<DataCollectionRunSettings>
7+
<DataCollectors>
8+
<DataCollector friendlyName="XPlat Code Coverage">
9+
<Configuration>
10+
<Format>cobertura</Format>
11+
<ExcludeByAttribute>Obsolete,GeneratedCodeAttribute,CompilerGeneratedAttribute,TestSDKAutoGeneratedCode</ExcludeByAttribute>
12+
<Exclude>[*.UnitTest]*,[*.Example]*Tests</Exclude>
13+
<Include>[*]Hj.ReverseProxy*</Include>
14+
<UseSourceLink>false</UseSourceLink>
15+
<IncludeTestAssembly>true</IncludeTestAssembly>
16+
<SkipAutoProps>true</SkipAutoProps>
17+
<ExcludeAssembliesWithoutSources>MissingAll,MissingAny,None</ExcludeAssembliesWithoutSources>
18+
</Configuration>
19+
</DataCollector>
20+
</DataCollectors>
21+
</DataCollectionRunSettings>
22+
<xUnit>
23+
<AppDomain>denied</AppDomain>
24+
<DiagnosticMessages>false</DiagnosticMessages>
25+
<FailSkips>false</FailSkips>
26+
<InternalDiagnosticMessages>false</InternalDiagnosticMessages>
27+
<LongRunningTestSeconds>0</LongRunningTestSeconds>
28+
<MaxParallelThreads>0</MaxParallelThreads>
29+
<MethodDisplay>classAndMethod</MethodDisplay>
30+
<MethodDisplayOptions>none</MethodDisplayOptions>
31+
<NoAutoReporters>false</NoAutoReporters>
32+
<ParallelizeAssembly>true</ParallelizeAssembly>
33+
<ParallelizeTestCollections>true</ParallelizeTestCollections>
34+
<PreEnumerateTheories>true</PreEnumerateTheories>
35+
<ReporterSwitch>quiet</ReporterSwitch>
36+
<StopOnFail>false</StopOnFail>
37+
</xUnit>
38+
</RunSettings>

.vscode/extensions.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"recommendations": [
33
"editorconfig.editorconfig",
4-
"ms-dotnettools.csdevkit"
4+
"github.copilot-chat",
5+
"github.vscode-github-actions",
6+
"ms-vscode.powershell",
7+
"ms-dotnettools.csdevkit",
8+
"ms-vscode.live-server",
9+
"microsoft-aspire.aspire-vscode"
510
]
611
}

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"configurations": [
3+
{
4+
"type": "aspire",
5+
"request": "launch",
6+
"name": "Aspire: Launch",
7+
"program": "${workspaceFolder}/examples/Aspire.AppHost/Examples.Aspire.AppHost.csproj",
8+
"debuggers": {
9+
"project": {
10+
"console": "integratedTerminal",
11+
"logging": {
12+
"moduleLoad": false
13+
}
14+
},
15+
"apphost": {
16+
"stopAtEntry": true
17+
}
18+
}
19+
}
20+
]
21+
}

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"**/obj": true
77
},
88
"git.enableCommitSigning": true,
9+
"dotnet.unitTests.runSettingsPath": ".runsettings",
910
"csharp.debug.symbolOptions.searchNuGetOrgSymbolServer": true,
1011
"csharp.debug.symbolOptions.searchMicrosoftSymbolServer": true,
1112
"csharp.debug.justMyCode": true,

.vscode/tasks.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "run tests",
6+
"type": "shell",
7+
"command": "${workspaceFolder}/Update-TestCoverage.ps1",
8+
"problemMatcher": "$msCompile",
9+
"group": {
10+
"kind": "test",
11+
"isDefault": true
12+
}
13+
},
14+
{
15+
"label": "view test report",
16+
"command": "",
17+
"type": "process",
18+
"windows": {
19+
"command": "explorer"
20+
},
21+
"osx": {
22+
"command": "open"
23+
},
24+
"args": [
25+
"${workspaceFolder}/TestReport/index.html"
26+
],
27+
"problemMatcher": []
28+
}
29+
]
30+
}

0 commit comments

Comments
 (0)