diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fc6347a..a9b7239 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,6 +13,7 @@ jobs: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v22 - uses: DeterminateSystems/magic-nix-cache-action@main + - uses: HatsuneMiku3939/direnv-action@v1 - name: Test run: | nix flake check -L -j auto diff --git a/flake.nix b/flake.nix index a66a20b..f2ce884 100644 --- a/flake.nix +++ b/flake.nix @@ -82,10 +82,10 @@ doCheck = true; name = "test"; src = ./.; - checkInputs = [ pkgs.inventoryDevEnv ]; + checkInputs = [ pkgs.inventoryDevEnv pkgs.postgresql_15 pkgs.overmind ]; checkPhase = '' mkdir -p $out - pytest --ds=network_inventory.settings.ram_test \ + pytest --ds=network_inventory.settings.local \ -nauto \ --nomigrations \ --cov=./src \