Skip to content

Commit d6a7b5a

Browse files
authored
Update ubuntu.yml
1 parent 7f98850 commit d6a7b5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
build:
1414
strategy:
1515
matrix:
16-
os: [ubuntu-latest, ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
16+
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
1717

1818
runs-on: ${{ matrix.os }}
1919

@@ -69,6 +69,8 @@ jobs:
6969
run: sed -i 's+</Project>+<ItemGroup><Reference Include="CSharpToJavaScript"><HintPath>/home/runner/artifact/CSharpToJavaScript.dll</HintPath></Reference></ItemGroup></Project>+g' CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
7070
- name: Cat CSTOJS_Tests.csproj
7171
run: cat CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj
72+
- name: Add Microsoft.CodeAnalysis.CSharp reference
73+
run: dotnet add CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj package Microsoft.CodeAnalysis.CSharp
7274
- name: Run tests
7375
run: dotnet test CSTOJS_Tests/CSTOJS_Tests/CSTOJS_Tests.csproj --logger "html;logfilename=test-result-${{ matrix.os }}.html;verbosity=detailed" --results-directory ~/artifact/
7476
- name: Upload test result

0 commit comments

Comments
 (0)