-
Notifications
You must be signed in to change notification settings - Fork 75
85 lines (73 loc) · 1.91 KB
/
Copy pathengine--integration-tests.yml
File metadata and controls
85 lines (73 loc) · 1.91 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: "[Engine] Integration Tests"
on:
pull_request:
branches: [main]
paths:
- "engine/**"
- "tests/**"
- "scripts/**"
- "pyproject.toml"
- "uv.lock"
- "Taskfile.yml"
- "pyrightconfig.json"
- ".github/workflows/engine--integration-tests.yml"
push:
branches: [main]
paths:
- "engine/**"
- "tests/**"
- "scripts/**"
- "pyproject.toml"
- "uv.lock"
- "Taskfile.yml"
- "pyrightconfig.json"
- ".github/workflows/engine--integration-tests.yml"
workflow_dispatch:
workflow_call:
env:
PYTHON_VERSION: "3.10"
permissions:
checks: write
contents: read
jobs:
integration-tests:
name: Integration Tests
runs-on: depot-ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install go-task
uses: arduino/setup-task@v2
with:
version: 3.x
- name: Install engine dependencies
run: task ci:setup
- name: Run integration tests (excludes ``-m live``)
run: task test:integration
- name: Publish Test Report
uses: mikepenz/action-junit-report@v5
if: always()
with:
report_paths: "test-results/integration.xml"
update_check: true
detailed_summary: true
include_passed: true
include_time_in_summary: true
fail_on_failure: true
- name: Upload artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: engine-integration-test-results
path: test-results/
retention-days: 14