Skip to content

Commit 7ce3338

Browse files
authored
Revert "Add code coverage reports" (#2375)
1 parent 2fd613f commit 7ce3338

File tree

5 files changed

+2
-29
lines changed

5 files changed

+2
-29
lines changed

.github/codecov.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/workflows/build-test.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
shell: pwsh
3838
run: |
3939
$env:COMPlus_gcServer=1
40-
dotnet test --no-build Content.Tests/Content.Tests.csproj -v n --collect "XPlat Code Coverage" --results-directory:"./TestResults/"
40+
dotnet test --no-build Content.Tests/Content.Tests.csproj -v n
4141
- name: Content.Tests (Optimizations Disabled)
4242
shell: pwsh
4343
env:
@@ -49,21 +49,12 @@ jobs:
4949
shell: pwsh
5050
run: |
5151
$env:COMPlus_gcServer=1
52-
dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -v n --collect "XPlat Code Coverage" --results-directory:"./TestResults/"
52+
dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -v n
5353
- name: Publish OpenDream
5454
if: github.event_name == 'push'
5555
run: |
5656
dotnet run --project OpenDreamPackageTool --no-build --configuration Release -- --server --hybrid-acz --configuration Release --platform ${{ matrix.os == 'windows-latest' && 'win-x64' || 'linux-x64' }} --output output_release/
5757
dotnet run --project OpenDreamPackageTool --no-build --configuration Release -- --server --hybrid-acz --configuration Tools --platform ${{ matrix.os == 'windows-latest' && 'win-x64' || 'linux-x64' }} --output output_tools/
58-
- name: Upload Test Coverage to CodeCov
59-
uses: codecov/codecov-action@v5
60-
with:
61-
directory: ./TestResults
62-
fail_ci_if_error: true
63-
token: ${{ secrets.CODECOV_TOKEN }}
64-
slug: OpenDream/OpenDream
65-
verbose: true
66-
handle_no_reports_found: true
6758
- name: Publish DMCompiler
6859
if: github.event_name == 'push'
6960
run: dotnet publish DMCompiler -c Release -o output_release/DMCompiler_${{ matrix.os == 'windows-latest' && 'win-x64' || 'linux-x64' }}

Content.IntegrationTests/Content.IntegrationTests.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
<AssemblyName>Content.IntegrationTests</AssemblyName>
1313
</PropertyGroup>
1414
<ItemGroup>
15-
<PackageReference Include="coverlet.collector">
16-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
17-
<PrivateAssets>all</PrivateAssets>
18-
</PackageReference>
1915
<PackageReference Include="NUnit" />
2016
<PackageReference Include="NUnit3TestAdapter" />
2117
<PackageReference Include="Microsoft.NET.Test.Sdk" />

Content.Tests/Content.Tests.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
<AssemblyName>Content.Tests</AssemblyName>
1616
</PropertyGroup>
1717
<ItemGroup>
18-
<PackageReference Include="coverlet.collector">
19-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
20-
<PrivateAssets>all</PrivateAssets>
21-
</PackageReference>
2218
<PackageReference Include="NUnit" />
2319
<PackageReference Include="NUnit.ConsoleRunner" />
2420
<PackageReference Include="NUnit3TestAdapter" />

Directory.Packages.props

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
<Project>
22
<Import Project="RobustToolbox/Directory.Packages.props" />
33
<ItemGroup>
4-
<PackageVersion Include="coverlet.collector" Version="6.0.4">
5-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
6-
<PrivateAssets>all</PrivateAssets>
7-
</PackageVersion>
84
<PackageVersion Include="NUnit.ConsoleRunner" Version="3.15.0" />
95
<PackageVersion Include="Byond.TopicSender" Version="8.0.1" />
106
<PackageVersion Include="Tracy-CSharp" Version="0.11.1-hotfix" />

0 commit comments

Comments
 (0)