diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2ca68a..0f5c53b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,15 @@ jobs: run: dotnet restore ./Typely.sln - name: Build - run: dotnet build --configuration Release ./Typely.sln + run: | + dotnet build --configuration Debug ./Typely.sln + dotnet build --configuration Release ./Typely.sln + cp -f ./src/Typely.Core/bin/Debug/net7.0/Typely.Core.dll ./tests/Typely.EfCore.Tests/bin/Debug/net7.0/Typely.Core.dll + cp -f ./src/Typely.Core/bin/Debug/net7.0/Typely.Core.dll ./tests/Typely.AspNetCore.Swashbuckle.Tests/bin/Debug/net7.0/Typely.Core.dll + cp -f ./src/Typely.Core/bin/Debug/net7.0/Typely.Core.dll ./tests/Typely.AspNetCore.Tests/bin/Debug/net7.0/Typely.Core.dll + cd ./tests/Typely.EfCore.Tests/bin/Debug/net7.0/ + echo Dir: + ls - name: Test run: dotnet test --no-restore ./Typely.sln /p:CollectCoverage=true /p:CoverletOutput="../Coverage/" /p:MergeWith="../Coverage/coverage.json" /p:CoverletOutputFormat=\"cobertura,json\" /maxcpucount:1