mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-02 02:25:01 +03:00
Fix test (#10007)
This commit is contained in:
@@ -30,12 +30,11 @@ jobs:
|
|||||||
dotnet-quality: 'ga'
|
dotnet-quality: 'ga'
|
||||||
|
|
||||||
- name: Test Code
|
- name: Test Code
|
||||||
working-directory: ./v2rayN
|
run: dotnet test --project ./v2rayN/ServiceLib.Tests -c Release --results-directory ./TestResults -- --report-trx
|
||||||
run: dotnet test ./ServiceLib.Tests -c Release --no-build --results-directory ./TestResults -- --report-trx
|
|
||||||
|
|
||||||
- name: Comment PR with results
|
- name: Comment PR with results
|
||||||
if: always()
|
if: always()
|
||||||
uses: EnricoMi/publish-unit-test-result-action@v2
|
uses: EnricoMi/publish-unit-test-result-action@v2
|
||||||
with:
|
with:
|
||||||
files: ./v2rayN/TestResults/*.trx
|
files: ./TestResults/*.trx
|
||||||
comment_mode: failures
|
comment_mode: failures
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"test": {
|
||||||
|
"runner": "Microsoft.Testing.Platform"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user