pytest: Removed -s flag for CI
This commit is contained in:
@@ -38,8 +38,8 @@ def graphics_options(vm: VmConfig) -> list[str]:
|
||||
common: list[str] = []
|
||||
|
||||
# Check if the version is greater than 8.1.3 to enable virtio audio
|
||||
if get_qemu_version() > [8, 1, 3]:
|
||||
common = ["-audio", "driver=pa,model=virtio"]
|
||||
# if get_qemu_version() > [8, 1, 3]:
|
||||
common = ["-audio", "driver=pa,model=virtio"]
|
||||
|
||||
if vm.wayland:
|
||||
# fmt: off
|
||||
|
||||
@@ -133,7 +133,7 @@ python3.pkgs.buildPythonApplication {
|
||||
cd ./src
|
||||
|
||||
export NIX_STATE_DIR=$TMPDIR/nix IN_NIX_SANDBOX=1
|
||||
${checkPython}/bin/python -m pytest -m "not impure and not with_core" -s ./tests
|
||||
${checkPython}/bin/python -m pytest -m "not impure and not with_core" ./tests
|
||||
touch $out
|
||||
'';
|
||||
# separate the tests that can never be cached
|
||||
@@ -144,7 +144,7 @@ python3.pkgs.buildPythonApplication {
|
||||
|
||||
export CLAN_CORE=${clan-core-path}
|
||||
export NIX_STATE_DIR=$TMPDIR/nix IN_NIX_SANDBOX=1
|
||||
${checkPython}/bin/python -m pytest -m "not impure and with_core" -s ./tests
|
||||
${checkPython}/bin/python -m pytest -m "not impure and with_core" ./tests
|
||||
touch $out
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -xeuo pipefail
|
||||
|
||||
PID_NIX=$(pgrep --full "python -m pytest" | cut -d " " -f2 | head -n1)
|
||||
|
||||
sudo cntr attach "$PID_NIX"
|
||||
Reference in New Issue
Block a user