From 43370a50a4880168e906a56c7a07ca43c0ec83df Mon Sep 17 00:00:00 2001 From: Alexander Rodionov Date: Mon, 20 Mar 2023 17:15:47 +0300 Subject: [PATCH] disable python cache for tests --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 6dfd323..dfefc40 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ push: .PHONY: test test: build docker run --rm -t --gpus all \ + -e PYTHONDONTWRITEBYTECODE=1 \ -e PITCH_DETECTORS_GPU=true \ -v $$PWD/pitch_detectors:/app/pitch_detectors \ -v $$PWD/tests:/app/tests \ @@ -21,6 +22,7 @@ test: build .PHONY: test-no-gpu test-no-gpu: build docker run --rm -t \ + -e PYTHONDONTWRITEBYTECODE=1 \ -e PITCH_DETECTORS_GPU=false \ -v $$PWD/pitch_detectors:/app/pitch_detectors \ -v $$PWD/tests:/app/tests \