From d28adbb51f84038bafdad1e6d648c2a4fb5e39f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=20Go=C3=B1i?= Date: Tue, 29 Oct 2024 17:32:12 +0100 Subject: [PATCH] Minor CI improvements --- .github/workflows/ci.yml | 2 ++ ci-helpers/check-installation.sh | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 763824d..b5b96d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ env: jobs: build: + name: "Build and Test" runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -33,6 +34,7 @@ jobs: install: # This assumes that the worker will be using systemctl + name: "Install on Github Worker" runs-on: ubuntu-latest needs: build steps: diff --git a/ci-helpers/check-installation.sh b/ci-helpers/check-installation.sh index 96e9724..fcf9d4b 100755 --- a/ci-helpers/check-installation.sh +++ b/ci-helpers/check-installation.sh @@ -11,7 +11,7 @@ check_file() { echo "Checking the existence of the necessary files..." # Daemon -# check_file "~/.local/share/razercontrol" +check_file "$HOME/.local/share/razercontrol" check_file "/usr/share/razercontrol/daemon" check_file "/usr/share/razercontrol/laptops.json" check_file "/etc/udev/rules.d/99-hidraw-permissions.rules" @@ -22,7 +22,6 @@ check_file "/usr/bin/razer-settings" check_file "/usr/share/applications/razer-settings.desktop" echo "All files are present" - printf "Checking that the service is enabled: " systemctl --user is-enabled razercontrol.service