Revert "Try to use the db in tests"

This reverts commit 10c221ec8b.
This commit is contained in:
Andreas Zweili 2023-07-14 18:49:37 +02:00
parent 10c221ec8b
commit 757e1da5cb
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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 \