mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-18 19:30:27 +08:00
flake: Test radicle-httpd in flake check
Also use the tested binary when running checks for radicle-explorer.
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
|
||||
checks = {
|
||||
radicle-explorer = self.packages.${system}.radicle-explorer.override { doCheck = true; };
|
||||
radicle-httpd = self.packages.${system}.radicle-httpd.overrideAttrs (_: { doCheck = true; });
|
||||
};
|
||||
|
||||
packages = {
|
||||
@@ -93,7 +94,7 @@
|
||||
runHook preCheck
|
||||
bins=$(scripts/install-binaries -s)
|
||||
mkdir -p "$bins"
|
||||
cp -t "$bins" -- ${heartwood.packages.${system}.default}/bin/* ${self.packages.${system}.radicle-httpd}/bin/*
|
||||
cp -t "$bins" -- ${heartwood.packages.${system}.default}/bin/* ${self.checks.${system}.radicle-httpd}/bin/*
|
||||
scripts/check
|
||||
{
|
||||
npm run test:unit
|
||||
|
||||
Reference in New Issue
Block a user