-
Notifications
You must be signed in to change notification settings - Fork 54
62 lines (54 loc) · 1.96 KB
/
gui-functional-tests.yml
File metadata and controls
62 lines (54 loc) · 1.96 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
# Copyright (c) 2026 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
name: GUI Functional Tests
on:
pull_request:
push:
branches:
- "**"
tags-ignore:
- "**"
workflow_dispatch:
jobs:
qml-functional-tests:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential cmake pkgconf python3 \
libevent-dev libboost-dev libsqlite3-dev libgl-dev libqrencode-dev \
qt6-qpa-plugins \
qt6-base-dev qt6-tools-dev qt6-l10n-tools qt6-tools-dev-tools \
qt6-declarative-dev \
qml6-module-qtqml qml6-module-qtqml-models qml6-module-qtqml-workerscript qml6-module-qt-labs-settings \
qml6-module-qtquick qml6-module-qtquick-window \
qml6-module-qtquick-layouts qml6-module-qtquick-controls \
qml6-module-qtquick-dialogs qml6-module-qtquick-templates
- name: Configure
run: |
cmake -B build \
-DBUILD_APP_TESTS=OFF \
-DENABLE_TEST_AUTOMATION=ON \
-DBUILD_DAEMON=ON
- name: Build
run: |
cmake --build build -j"$(nproc)"
- name: Run QML test automation suite
env:
QT_QUICK_BACKEND: software
LIBGL_ALWAYS_SOFTWARE: "1"
run: |
python3 test/functional/qml_test_bridge_sanity.py
python3 test/functional/qml_test_onboarding.py
python3 test/functional/qml_test_external_signer.py
python3 test/functional/qml_test_peers.py
python3 test/functional/qml_test_proxy.py
python3 test/functional/qml_test_debug_log.py
python3 test/functional/qml_test_settings_display.py