diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7d8a39..b924a7d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,13 +8,12 @@ build: script: - black --check --diff blueprintcompiler tests - mypy --python-version=3.9 blueprintcompiler - - G_DEBUG=fatal-warnings coverage run -m unittest + - G_DEBUG=fatal-warnings xvfb-run coverage run -m unittest - coverage report - coverage html - coverage xml - meson _build -Ddocs=true --prefix=/usr - ninja -C _build - - ninja -C _build test - ninja -C _build install - ninja -C _build docs/en - git clone https://gitlab.gnome.org/jwestman/blueprint-regression-tests.git diff --git a/build-aux/Dockerfile b/build-aux/Dockerfile index e2c1081..c7841d9 100644 --- a/build-aux/Dockerfile +++ b/build-aux/Dockerfile @@ -1,7 +1,7 @@ FROM fedora:latest RUN dnf install -y meson python3-pip gtk4-devel gobject-introspection-devel \ - libadwaita-devel python3-devel python3-gobject git diffutils + libadwaita-devel python3-devel python3-gobject git diffutils xorg-x11-server-Xvfb RUN pip3 install furo mypy sphinx coverage black # The version on PyPI is very old and doesn't install. Use the upstream package registry instead.