Skip to content

Commit b8eaba6

Browse files
authored
Update ubuntu.yml
1 parent f93cfb7 commit b8eaba6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/ubuntu.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff 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() }}

0 commit comments

Comments
 (0)