TEST: Improve code coverage (#218) #519
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
paths: | |
- ".github/workflows/integration.yml" | |
- "**/*.swift" | |
schedule: | |
# Every Sunday at 12am | |
- cron: '0 0 * * 0' | |
workflow_dispatch: | |
concurrency: | |
group: "integration-${{ github.head_ref || github.run_id }}" | |
cancel-in-progress: true | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer | |
jobs: | |
integration-test: | |
name: Integration Test | |
runs-on: macos-15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
run: swift build --build-tests | |
- name: Test | |
run: swift test --skip-build --filter TMDbIntegrationTests | |
env: | |
TMDB_API_KEY: ${{ secrets.TMDB_API_KEY }} | |
TMDB_USERNAME: ${{ secrets.TMDB_USERNAME }} | |
TMDB_PASSWORD: ${{ secrets.TMDB_PASSWORD }} |