From 45e448563bfd0b0434e35d7c01bd7def3dc8ae43 Mon Sep 17 00:00:00 2001 From: James Friel Date: Tue, 5 Dec 2023 08:29:15 +0000 Subject: [PATCH] remove coverage --- .github/workflows/build.yml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d1b501aa3..00b18c1fb9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/github-action@v2.2.3 - 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/github-action@v2.2.3 + # 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 @@ -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/github-action@v2.2.3 - 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/github-action@v2.2.3 + # 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