Scheduled Live Integration Tests #38
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: Scheduled Live Integration Tests | |
| # Run live tests on a schedule to catch API changes/regressions | |
| # This is optional but recommended to catch issues from external API changes | |
| on: | |
| schedule: | |
| # Run daily at 2 AM UTC (adjust timezone as needed) | |
| - cron: '0 2 * * *' | |
| workflow_dispatch: # Allow manual triggering | |
| jobs: | |
| live-integration-tests: | |
| name: Scheduled Live Integration Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm run test:live-integration | |
| env: | |
| ENABLE_REAL_API_TESTS: 'true' |