Weekly Tests #116
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: Weekly Tests | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 0 * * 0" # Runs at 00:00 UTC every Sunday | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - "**" # Ignore all paths to ensure it only triggers on schedule | |
| jobs: | |
| weekly-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-cache: true | |
| - name: Set up Python | |
| run: uv python install 3.11 | |
| - name: Install dependencies | |
| run: uv sync --all-extras --dev | |
| - name: Run all tests | |
| run: uv run pytest tests/ --asyncio-mode=auto | |
| env: | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} |