-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
143 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
6.0.x | ||
8.0.x | ||
9.0.x | ||
|
||
${{nms.tests}} | ||
|
||
- name: Publish Test Results | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,40 +25,43 @@ jobs: | |
3.1.x | ||
6.0.x | ||
8.0.x | ||
9.0.x | ||
- name: 👀 Test & Pack Codecov - RefAssemblyUT | ||
run: dotnet test "./test/ut/CompileUnit/RefAssemblyUT/RefAssemblyUT.csproj" --nologo -f net6.0 -c Release -l "trx;LogFileName=RefAssemblyUT.trx" --results-directory "TestResults" --collect:"XPlat Code Coverage" | ||
- name: 👀 Test & Pack Codecov - RefAssembly | ||
run: dotnet test "./test/ut/Compile/RefAssembly/RefAssembly.csproj" --nologo -f net6.0 -c Release -l "trx;LogFileName=RefAssembly.trx" --results-directory "TestResults" --collect:"XPlat Code Coverage" | ||
- name: 📶 Push to Codecov | ||
if: matrix.os == 'ubuntu-latest' | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.COVERAGE_KEY }} | ||
directory: TestResults | ||
- name: 🚦 RefAssemblyUT UT Test Not on ubuntu-latest | ||
- name: 🚦 RefAssembly UT Test Not on ubuntu-latest | ||
if: matrix.os != 'ubuntu-latest' | ||
run: dotnet test './test/ut/CompileUnit/RefAssemblyUT' --nologo -c Release -l "trx;LogFileName=RefAssemblyUT.trx" --results-directory "TestResults" | ||
run: dotnet test './test/ut/Compile/RefAssembly' --nologo -c Release -l "trx;LogFileName=RefAssembly.trx" --results-directory "TestResults" | ||
|
||
- name: 🚦 MemAssembly UT Test | ||
run: dotnet test './test/ut/Compile/MemAssembly' --nologo -c Release -l "trx;LogFileName=MemAssembly.trx" --results-directory "TestResults" | ||
|
||
|
||
- name: Publish Test Results | ||
if: matrix.os == 'ubuntu-latest' | ||
uses: EnricoMi/publish-unit-test-result-action@v2 | ||
uses: EnricoMi/publish-unit-test-result-action/linux@v2 | ||
with: | ||
check_name: 'UT Test - Ubuntu' | ||
files: | | ||
TestResults/**/*.trx | ||
# - name: Publish Test Results | ||
# if: matrix.os == 'macos-latest' | ||
# uses: EnricoMi/publish-unit-test-result-action/composite@v2 | ||
# uses: EnricoMi/publish-unit-test-result-action/macos@v2 | ||
# with: | ||
# check_name: 'UT Test - Macos' | ||
# files: | | ||
# TestResults/**/*.trx | ||
|
||
- name: Publish Test Results | ||
if: matrix.os == 'windows-latest' | ||
uses: EnricoMi/publish-unit-test-result-action/composite@v2 | ||
uses: EnricoMi/publish-unit-test-result-action/windows@v2 | ||
with: | ||
check_name: 'UT Test - Windows' | ||
files: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...CSharp/Extension/HotExecutor/Natasha.CSharp.HotExecutor.SG/targets/Project.Usings.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<Project> | ||
<ItemGroup Condition="'$(ImplicitUsings)' == 'enable' or '$(ImplicitUsings)' == 'true'"> | ||
<Using Include="Natasha.CSharp.Extension.HotExecutor.SG" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...ha.CSharp/Extension/HotExecutor/Natasha.CSharp.HotExecutor/Targets/Project.Usings.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<Project> | ||
<ItemGroup Condition="'$(ImplicitUsings)' == 'enable' or '$(ImplicitUsings)' == 'true'"> | ||
<Using Include="Natasha.CSharp.Extension.HotExecutor" /> | ||
<Using Include="Natasha.CSharp.HotExecutor.Component" /> | ||
<Using Include="Natasha.CSharp.HotExecutor.Component.SyntaxUtils" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.