From 6218c1f301d52f0050992d662abb94380a44cab5 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 22 Nov 2022 11:06:43 +0100 Subject: [PATCH] Try another command --- .github/workflows/tests.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1480ff5..e6f90dc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,6 @@ jobs: - uses: cachix/install-nix-action@v18 - name: Enable Nix shell run: | - nix develop + nix develop --command flake8 . --count --show-source --statistics # stop the build if there are Python syntax errors or undefined names - flake8 . --count --show-source --statistics - pytest --ds=network_inventory.settings.ram_test -nauto --nomigrations --cov=. + nix develop --command pytest --ds=network_inventory.settings.ram_test -nauto --nomigrations --cov=.