This repository was archived by the owner on Jul 24, 2026. It is now read-only.
fix: fail hard when DMS or qmllint tooling is missing #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: Elias Mueller | |
| # | |
| # SPDX-License-Identifier: MIT | |
| name: Pipeline | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| tags: | |
| - '*' | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| verify_formatting: | |
| runs-on: ubuntu-latest | |
| name: Lint & Format | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v7 | |
| - name: Install Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| - name: Install just | |
| uses: taiki-e/install-action@just | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Run pre-commit hooks | |
| run: just fmt | |
| env: | |
| SKIP: qmllint | |
| - name: Verify REUSE compliance | |
| uses: fsfe/reuse-action@v6 | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Tests | |
| container: fedora:44 | |
| env: | |
| UV_LINK_MODE: copy | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v7 | |
| - name: Install system dependencies | |
| run: | | |
| dnf install -y dnf5-plugins just uv dbus-daemon python3 | |
| dnf copr enable -y avengemedia/dms | |
| dnf install -y quickshell | |
| - name: Run system tests | |
| run: | | |
| export XDG_RUNTIME_DIR="$(mktemp -d)" | |
| just test |