Skip to content

Commit

Permalink
CI: check nix installation
Browse files Browse the repository at this point in the history
  • Loading branch information
JosuGZ committed Nov 5, 2024
1 parent 1b57f6f commit 9afb30c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix build
- run: nix flake check
- name: "Check installation"
run: ./ci-helpers/check-installation-nix.sh
12 changes: 12 additions & 0 deletions ci-helpers/check-installation-nix.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
set -o errexit
set -o nounset
set -o pipefail

printf "Checking that the service is enabled: "
systemctl --user is-enabled razercontrol.service

echo "Checking files on the path"
printf -- "- " && which razer-cli
printf -- "- " && which razer-settings

echo "Done!"

0 comments on commit 9afb30c

Please sign in to comment.