From 8c5a844d18538e297d3b8001e5a36dd0fbb0f987 Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Wed, 3 Jul 2024 22:07:06 +0100 Subject: [PATCH] ci(build): allow the unit file to be tested. As the container that runs the workflow logs in as root it is impossible to test starting a user service without some work that I cba to do. But I can at least verify that the unit file is valid --- .gitea/workflows/build.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 78047d0..9c64149 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -19,3 +19,9 @@ jobs: - name: Run make run: make + + - name: Install dexedrine to the container + run: sudo make install + + - name: Test unit file + run: systemd-analyze verify dexedrine.service