Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
adamayoung committed Nov 28, 2024
1 parent c14330b commit fb91ce2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit fb91ce2

Please sign in to comment.