From 9b1d802b45fce97bee4873f0e98b7f4741c774b1 Mon Sep 17 00:00:00 2001 From: DomCR Date: Thu, 15 Aug 2024 07:08:41 +0200 Subject: [PATCH] added submodules --- .github/workflows/coveralls.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 8f9b1068..52af41e4 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -22,14 +22,20 @@ jobs: - uses: actions/checkout@v2 with: submodules: true - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --no-restore - - name: Test - run: dotnet test -p:CollectCoverage=true -p:CoverletOutput=TestResults/ -p:CoverletOutputFormat=lcov --no-build --verbosity normal ACadSharp.Tests/ + - name: Build and Test ACadSharp + run: | + dotnet restore + dotnet build --no-restore + dotnet test -p:CollectCoverage=true -p:CoverletOutput=TestResults/ -p:CoverletOutputFormat=lcov --no-build --verbosity normal ACadSharp.Tests/ + - name: Build and Test Submodules + working-directory: CSUtilities + run: | + dotnet restore + dotnet build --no-restore + dotnet test -p:CollectCoverage=true -p:CoverletOutput=TestResults/ -p:CoverletOutputFormat=lcov --no-build --verbosity normal CSUtilities.Tests/ + dotnet test -p:CollectCoverage=true -p:CoverletOutput=TestResults/ -p:CoverletOutputFormat=lcov --no-build --verbosity normal CSMath.Tests/ - name: Coveralls action uses: coverallsapp/github-action@v2 with: github-token: ${{ github.token }} - files: ACadSharp.Tests/TestResults/coverage.info \ No newline at end of file + files: ACadSharp.Tests/TestResults/coverage.info CSUtilities/CSUtilities.Tests/TestResults/coverage.info CSUtilities/CSMath.Tests/TestResults/coverage.info \ No newline at end of file