Skip to content

Commit e8b7e0e

Browse files
Build bounded Detail decode and cache core (#893)
1 parent 5e55888 commit e8b7e0e

15 files changed

Lines changed: 4785 additions & 13 deletions

.github/workflows/test.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,44 @@ jobs:
9494
tests/test_startup_profile.py
9595
tests/test_appimage_packaging.py
9696
tests/test_macos_detection_report.py
97+
98+
detail-core-contracts:
99+
strategy:
100+
fail-fast: false
101+
matrix:
102+
os: [ubuntu-latest, macos-latest, windows-latest]
103+
runs-on: ${{ matrix.os }}
104+
timeout-minutes: 20
105+
106+
steps:
107+
- uses: actions/checkout@v4
108+
109+
- uses: actions/setup-python@v5
110+
with:
111+
python-version: "3.12"
112+
cache: pip
113+
cache-dependency-path: pyproject.toml
114+
115+
- name: Install Linux system dependencies
116+
if: runner.os == 'Linux'
117+
run: |
118+
sudo apt-get update
119+
sudo apt-get install -y --no-install-recommends libegl1 libgl1 libxkbcommon0 libpulse0
120+
121+
- name: Install Python dependencies
122+
run: |
123+
python -m pip install --upgrade pip
124+
pip install -e ".[test]"
125+
126+
- name: Run Detail core contracts
127+
env:
128+
QT_QPA_PLATFORM: offscreen
129+
NUMBA_DISABLE_JIT: "1"
130+
run: >-
131+
python -m pytest -q
132+
tests/gui/test_detail_profile.py
133+
tests/gui/test_detail_pipeline.py
134+
tests/gui/test_detail_request_scheduler.py
135+
tests/gui/test_detail_decode_backend.py
136+
tests/gui/test_detail_surface_cache.py
137+
tests/gui/test_detail_render_coordinator.py

0 commit comments

Comments
 (0)