Skip to content

Commit

Permalink
change ci cd setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepami committed Jul 28, 2024
1 parent 6e5e195 commit 8f3aad8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: dotnet build --no-restore -c Release -v n
- name: Unit Tests
run: |
dotnet test -c Release --no-build -v n --filter="Category=Unit"
dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --no-build -v n --filter="Category=Unit"
mkdir coverage-report
- name: Code Coverage Summary Report For Merge Request
if: github.event_name == 'pull_request_target'
Expand Down
5 changes: 0 additions & 5 deletions tests/HydraScript.Tests/HydraScript.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<CollectCoverage>true</CollectCoverage>
<CoverletOutputFormat>cobertura</CoverletOutputFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.12.0" />
Expand Down

0 comments on commit 8f3aad8

Please sign in to comment.