From fb91ce28a0240e2d22873a3a8020d1dc84def298 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Thu, 28 Nov 2024 20:51:05 +0000 Subject: [PATCH] WIP --- .github/workflows/ci.yml | 4 +++- .github/workflows/integration.yml | 12 +++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5a530b2..2b61be3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,9 @@ jobs: if: ${{ !cancelled() }} uses: codecov/test-results-action@v1 with: - files: ./junit-swift-testing.xml + file: ./junit-swift-testing.xml + flags: unit-tests + verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index be5e453c..7020405a 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -34,8 +34,18 @@ jobs: run: swift build --build-tests - name: Test - run: swift test --skip-build --filter TMDbIntegrationTests + run: swift test --skip-build --filter TMDbIntegrationTests --xunit-output junit.xml env: TMDB_API_KEY: ${{ secrets.TMDB_API_KEY }} TMDB_USERNAME: ${{ secrets.TMDB_USERNAME }} TMDB_PASSWORD: ${{ secrets.TMDB_PASSWORD }} + + - name: Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + file: ./junit-swift-testing.xml + flags: integration-tests + verbose: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}