Revert DB tests
This commit is contained in:
parent
7930eef582
commit
86e0ae7c5b
|
@ -13,7 +13,6 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: cachix/install-nix-action@v22
|
- uses: cachix/install-nix-action@v22
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- uses: HatsuneMiku3939/direnv-action@v1
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
nix flake check -L -j auto
|
nix flake check -L -j auto
|
||||||
|
|
|
@ -85,13 +85,11 @@
|
||||||
checkInputs = [ pkgs.inventoryDevEnv pkgs.postgresql_15 pkgs.overmind ];
|
checkInputs = [ pkgs.inventoryDevEnv pkgs.postgresql_15 pkgs.overmind ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
overmind start -D -l db
|
pytest --ds=network_inventory.settings.ram_test \
|
||||||
pytest --ds=network_inventory.settings.local \
|
|
||||||
-nauto \
|
-nauto \
|
||||||
--nomigrations \
|
--nomigrations \
|
||||||
--cov=./src \
|
--cov=./src \
|
||||||
./src
|
./src
|
||||||
overmind quit
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue