From 7a574abf6e8b6e6a01d9c5c1fdd260ab1449dcb7 Mon Sep 17 00:00:00 2001 From: Stefan Doerr Date: Fri, 24 Jan 2025 17:26:31 +0200 Subject: [PATCH] print 10 slowest tests to reduce test time on Windows/OSX --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index bfa22a49..6e8f8fb0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -80,7 +80,7 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Run tests - run: pytest -v -s + run: pytest -v -s --durations=10 env: CPU_ONLY: 1 SKIP_TORCH_COMPILE: ${{ runner.os == 'Windows' && 'true' || 'false' }}