infrastructure/checks/default.nix
Fabian Hauser fef2377502
All checks were successful
CI / build (push) Successful in 13m53s
Commit files for public release
2024-10-02 16:57:36 +03:00

23 lines
417 B
Nix

{
self,
system,
pkgs,
deployPkgs,
...
}@inputs:
{
${system} = {
# Check project formatting
format = pkgs.runCommand "nixfmt-check" { } ''
set -euo pipefail
cd ${self}
${self.formatter.${system}}/bin/formatter . --check
mkdir $out
'';
#TODO(#29): Integration/System tests
# Import deploy-rs tests
} // (deployPkgs.deploy-rs.lib.deployChecks self.deploy);
}