Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JosuGZ committed Oct 29, 2024
1 parent 711542d commit 50a1490
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:

jobs:
build:
name: "Build and Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions ci-helpers/check-installation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 50a1490

Please sign in to comment.