summaryrefslogtreecommitdiff
path: root/.gitlab-ci/test-flatpak-gtk4.sh
blob: 189d63cdac3946d25780129a3c65e2a0b0cca5e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -e

COV_DIR="$(pwd)/coverage"
export COVERAGE_FILE="${COV_DIR}/.coverage.gtk4"
mkdir -p "${COV_DIR}"

export TEST_GTK_VERSION=4.0
python3 -m pip install --user pytest pytest-faulthandler coverage
python3 setup.py build_tests
python3 -m coverage run tests/runtests.py
chmod -R 777 "${COV_DIR}"