diff --git a/.github/workflows/build-solutions.yml b/.github/workflows/build-solutions.yml index a6b184b299e..f13011a2b8c 100644 --- a/.github/workflows/build-solutions.yml +++ b/.github/workflows/build-solutions.yml @@ -34,4 +34,4 @@ jobs: restore-keys: | ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }} - name: Build ${{ matrix.solution }}.sln - run: dotnet build src/Nethermind/${{ matrix.solution }}.sln -c ${{ matrix.config }} + run: dotnet build src/Nethermind/${{ matrix.solution }}.sln -c ${{ matrix.config }} -p:CI=true diff --git a/.github/workflows/nethermind-tests.yml b/.github/workflows/nethermind-tests.yml index c5b1ee08652..9b2ab862d23 100644 --- a/.github/workflows/nethermind-tests.yml +++ b/.github/workflows/nethermind-tests.yml @@ -87,7 +87,7 @@ jobs: - name: ${{ matrix.project }} id: test run: | - dotnet test src/Nethermind/${{ matrix.project }} -c release \ + dotnet test src/Nethermind/${{ matrix.project }} -c release -p:CI=true \ ${{ env.COLLECT_COVERAGE == 'true' && '--collect:"XPlat Code Coverage"' || '' }} - name: Save test outcome if: success() || failure() @@ -153,7 +153,7 @@ jobs: - name: ${{ matrix.project }} id: test run: | - dotnet test src/Nethermind/${{ matrix.project }} -c release \ + dotnet test src/Nethermind/${{ matrix.project }} -c release -p:CI=true \ ${{ env.COLLECT_COVERAGE == 'true' && '--collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Exclude=[Nethermind.Core.Test]*,[Nethermind.Blockchain.Test]*,[Ethereum.Test.Base]*' || '' }} - name: Save test outcome if: success() || failure() diff --git a/src/Nethermind/Directory.Build.props b/src/Nethermind/Directory.Build.props index 5d2ad7cd802..c4b52a2fc13 100644 --- a/src/Nethermind/Directory.Build.props +++ b/src/Nethermind/Directory.Build.props @@ -1,5 +1,12 @@ + + + + NU1605 + linux-x64 + + Debug true