nix(refactor): Split memoryTest from tests.nix into memory.nix

This commit is contained in:
Wolfgang Walther
2021-04-18 13:51:39 +02:00
committed by Wolfgang Walther
parent e199337a53
commit 2e73886adc
5 changed files with 39 additions and 27 deletions
+5 -1
View File
@@ -118,11 +118,15 @@ rec {
# Scripts for running tests.
tests =
pkgs.callPackage nix/tests.nix {
inherit postgrest postgrestProfiled devCabalOptions withTools;
inherit postgrest devCabalOptions withTools;
ghc = pkgs.haskell.compiler."${compiler}";
hpc-codecov = pkgs.haskell.packages."${compiler}".hpc-codecov;
};
# Script for running memory tests.
memory =
pkgs.callPackage nix/memory.nix { inherit postgrestProfiled withTools; };
# Linting and styling scripts.
style =
pkgs.callPackage nix/style.nix { };