File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -66,15 +66,15 @@ jobs:
6666 - name : Delete reference
6767 run : dotnet remove CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj reference "..\..\CSharpToJavaScript\CSharpToJavaScript\CSharpToJavaScript.csproj"
6868 - name : Replace reference
69- run : sed -i 's+</Project>+<ItemGroup><Reference Include="CSharpToJavaScript"><HintPath>~\ artifact\ CSharpToJavaScript.dll</HintPath></Reference></ItemGroup></Project>+g' CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
70- - name : Test
69+ run : sed -i 's+</Project>+<ItemGroup><Reference Include="CSharpToJavaScript"><HintPath>/~/ artifact/ CSharpToJavaScript.dll</HintPath></Reference></ItemGroup></Project>+g' CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
70+ - name : Cat CSTOJS_Tests.csproj
7171 run : cat CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
72- # - name: Run tests
73- # run: dotnet test CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj --logger "html;logfilename=test-result-${{ matrix.os }}.html;verbosity=detailed" --results-directory ~\artifact\
74- # - name: Upload test result
75- # uses: actions/upload-artifact@v4.6.2
76- # with:
77- # name: test-result-${{ matrix.os }}
78- # path: ~/artifact/test-result-${{ matrix.os }}.html
79- # if-no-files-found: error
80- # if: ${{ always() }}
72+ - name : Run tests
73+ run : dotnet test CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj --logger "html;logfilename=test-result-${{ matrix.os }}.html;verbosity=detailed" --results-directory ~\artifact\
74+ - name : Upload test result
75+ uses : actions/upload-artifact@v4.6.2
76+ with :
77+ name : test-result-${{ matrix.os }}
78+ path : ~/artifact/test-result-${{ matrix.os }}.html
79+ if-no-files-found : error
80+ if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments