-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 1.21 KB
/
linux-platform-smoke.yml
File metadata and controls
50 lines (43 loc) · 1.21 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
name: linux-platform-smoke
on:
push:
branches:
- main
pull_request:
jobs:
smoke:
runs-on: ubuntu-latest
env:
PYTEST_DISABLE_PLUGIN_AUTOLOAD: "1"
QT_QPA_PLATFORM: offscreen
PYTHONIOENCODING: utf-8
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install Qt runtime libraries
run: |
sudo apt-get update
sudo apt-get install -y \
libegl1 \
libgl1 \
libxkbcommon-x11-0 \
libxcb-cursor0 \
libxcb-icccm4 \
libxcb-keysyms1 \
libxcb-randr0 \
libxcb-render-util0 \
libxcb-xinerama0 \
libxcb-xkb1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt pytest
- name: Run desktop regressions
run: |
python -m pytest -q tests/test_lsp_client.py tests/test_save_failure_guards.py tests/test_tab_reordering.py
- name: Run Linux platform smoke
run: python tests/linux_platform_smoke.py