Skip to content

Commit

Permalink
remove coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
JFriel committed Dec 5, 2023
1 parent 036e96a commit 45e4485
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,15 @@ jobs:
- name: Test (DB)
shell: bash
run: |
rm -rf coverage
dotnet test Rdmp.UI.Tests/Rdmp.UI.Tests.csproj --nologo --collect:"XPlat Code Coverage" --no-build --verbosity minimal -c Release --results-directory coverage -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=lcov
mv `find coverage -type f` db-ui.lcov
# mv `find coverage -type f` db-ui.lcov
dotnet test Rdmp.Core.Tests/Rdmp.Core.Tests.csproj --nologo --collect:"XPlat Code Coverage" --no-build --verbosity minimal -c Release --results-directory coverage -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=lcov
mv `find coverage -type f` db-core.lcov
- uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.github_token }}
files: ./db-ui.lcov ./db-core.lcov ./fs-ui.lcov ./fs-core.lcov
flag-name: unit tests
# mv `find coverage -type f` db-core.lcov
# - uses: coverallsapp/[email protected]
# with:
# github-token: ${{ secrets.github_token }}
# files: ./db-ui.lcov ./db-core.lcov ./fs-ui.lcov ./fs-core.lcov
# flag-name: unit tests
local-tests:
name: File system tests
runs-on: windows-latest
Expand All @@ -133,14 +132,14 @@ jobs:
run: |
echo "UseFileSystemRepo: true" >> Tests.Common/TestDatabases.txt
dotnet test Rdmp.UI.Tests/Rdmp.UI.Tests.csproj --nologo --collect:"XPlat Code Coverage" --no-build --verbosity minimal -c Release --results-directory coverage -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=lcov
mv `find coverage -type f` fs-ui.lcov
# mv `find coverage -type f` fs-ui.lcov
dotnet test Rdmp.Core.Tests/Rdmp.Core.Tests.csproj --nologo --collect:"XPlat Code Coverage" --no-build --verbosity minimal -c Release --results-directory coverage -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=lcov
mv `find coverage -type f` fs-core.lcov
- uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.github_token }}
files: ./db-ui.lcov ./db-core.lcov ./fs-ui.lcov ./fs-core.lcov
flag-name: unit tests
# mv `find coverage -type f` fs-core.lcov
# - uses: coverallsapp/[email protected]
# with:
# github-token: ${{ secrets.github_token }}
# files: ./db-ui.lcov ./db-core.lcov ./fs-ui.lcov ./fs-core.lcov
# flag-name: unit tests
bundle:
name: Bundle Build
runs-on: windows-latest
Expand Down

0 comments on commit 45e4485

Please sign in to comment.