diff --git a/.github/workflows/ci-e2e.yml b/.github/workflows/ci-e2e.yml index d6de4d2b..309d95bd 100644 --- a/.github/workflows/ci-e2e.yml +++ b/.github/workflows/ci-e2e.yml @@ -52,7 +52,12 @@ jobs: run: sudo mkdir -p /var/lib/serval && sudo chmod 777 /var/lib/serval - name: Test - run: dotnet test --no-build --verbosity normal --filter "TestCategory!=slow&TestCategory=E2E" + run: dotnet test --no-build --verbosity normal --filter "TestCategory!=slow&TestCategory=E2E" --collect:"Xplat Code Coverage" + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Debug network (Post test) if: ${{ failure() }} diff --git a/docker-compose.yml b/docker-compose.yml index 72da99cf..51d5fdef 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -158,6 +158,12 @@ services: - --no-launch-profile - --additionalProbingPath - /root/.nuget/packages + deploy: + resources: + limits: + memory: 2.5G + reservations: + memory: 2.5G mongo: hostname: mongo image: mongo:6.0 diff --git a/tests/Serval.E2ETests/Serval.E2ETests.csproj b/tests/Serval.E2ETests/Serval.E2ETests.csproj index d60d5d41..76486a31 100644 --- a/tests/Serval.E2ETests/Serval.E2ETests.csproj +++ b/tests/Serval.E2ETests/Serval.E2ETests.csproj @@ -7,6 +7,10 @@ + + runtime; build; native; contentfiles; analyzers; buildtransitive + all +