From 800fbc7ad0363ac94e9e59742be78dd24c77ddc0 Mon Sep 17 00:00:00 2001 From: Saugat Pachhai Date: Fri, 22 Oct 2021 08:46:55 +0545 Subject: [PATCH] Use `-n=auto` in tests Linux/Windows machines have only 2 cores, whereas macOS machines have 3 cores. Maybe we are stretching available resources by 2x, let's see if `-n=auto` improves test freezes. --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5ea7f0556..e66758cbe 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -107,7 +107,7 @@ jobs: OSS_ACCESS_KEY_SECRET: ${{ secrets.OSS_ACCESS_KEY_SECRET}} OSS_ENDPOINT: ${{ secrets.OSS_ENDPOINT}} run: >- - python -m tests -n=4 + python -m tests -n=auto --cov-report=xml --cov-report=term --enable-ssh ${{ env.extra_test_args }} - name: upload coverage report