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..ef3fc85 100755 --- a/ci-helpers/check-installation.sh +++ b/ci-helpers/check-installation.sh @@ -9,9 +9,10 @@ check_file() { fi } +# https://stackoverflow.com/questions/71020739/dynamic-github-actions-steps#72295162 +echo ::group::Checking Files echo "Checking the existence of the necessary files..." # Daemon -# check_file "~/.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" @@ -21,7 +22,7 @@ check_file "/usr/bin/razer-cli" check_file "/usr/bin/razer-settings" check_file "/usr/share/applications/razer-settings.desktop" echo "All files are present" - +echo ::endgroup:: printf "Checking that the service is enabled: " systemctl --user is-enabled razercontrol.service