From 757e1da5cb44db477f951c486eaa38871a73908e Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Fri, 14 Jul 2023 18:49:37 +0200 Subject: [PATCH] Revert "Try to use the db in tests" This reverts commit 10c221ec8b572eb65b9401f9867e08a911a53e01. --- .github/workflows/tests.yml | 1 - flake.nix | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a9b7239..fc6347a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,6 @@ 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 2c755ce..76e4a5c 100644 --- a/flake.nix +++ b/flake.nix @@ -82,10 +82,10 @@ doCheck = true; name = "test"; src = ./.; - checkInputs = [ pkgs.inventoryDevEnv pkgs.postgresql_15 pkgs.overmind ]; + checkInputs = [ pkgs.inventoryDevEnv ]; checkPhase = '' mkdir -p $out - pytest --ds=network_inventory.settings.local \ + pytest --ds=network_inventory.settings.ram_test \ -nauto \ --nomigrations \ --cov=./src \