Integration #16
This file contains hidden or 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 | |
| # Hits the live Diffbot APIs, so it consumes real quota and needs a token. | |
| # Kept off the per-PR path: nightly + on-demand only. Neither trigger can be | |
| # invoked by a fork PR, so the repo-level DIFFBOT_API_TOKEN secret is never | |
| # exposed to untrusted code. | |
| on: | |
| schedule: | |
| - cron: "0 6 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| env: | |
| UV_NO_SYNC: "true" | |
| jobs: | |
| integration: | |
| name: integration tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "0.9.5" | |
| python-version: "3.12" | |
| enable-cache: true | |
| - run: uv sync --no-sources --group test | |
| - run: make test_integration | |
| env: | |
| DIFFBOT_API_TOKEN: ${{ secrets.DIFFBOT_API_TOKEN }} |