-
Notifications
You must be signed in to change notification settings - Fork 12
43 lines (41 loc) · 1.38 KB
/
e2e.yml
File metadata and controls
43 lines (41 loc) · 1.38 KB
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
34
35
36
37
38
39
40
41
42
43
name: E2E Tests
on:
workflow_dispatch:
inputs:
provider:
description: Provider to test
required: false
default: all
type: choice
options: [all, daytona, e2b, backend]
schedule:
- cron: '0 2 * * *'
jobs:
e2e:
name: E2E (${{ github.event.inputs.provider || 'all' }})
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
with:
enable-cache: true
- name: Install dependencies
run: uv sync --dev
- name: Run e2e tests
env:
DAYTONA_API_KEY: ${{ secrets.DAYTONA_API_KEY }}
DAYTONA_SERVER_URL: ${{ secrets.DAYTONA_SERVER_URL }}
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
LEON_E2E_BACKEND: ${{ secrets.LEON_E2E_BACKEND }} # base URL of staging backend for API-level e2e
run: |
uv run pytest \
tests/test_e2e_providers.py \
tests/test_sandbox_e2e.py \
tests/test_daytona_e2e.py \
tests/test_daytona_provider.py \
tests/test_e2e_backend_api.py \
tests/test_e2e_summary_persistence.py \
tests/test_p3_e2e.py \
-v --timeout=300