-
-
Notifications
You must be signed in to change notification settings - Fork 1k
33 lines (26 loc) · 706 Bytes
/
evals.yml
File metadata and controls
33 lines (26 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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/
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}