From 648ba41b4b9e3c5382173ae984632ecca78b56e6 Mon Sep 17 00:00:00 2001 From: Ross Wightman Date: Tue, 21 Jul 2020 08:52:56 -0700 Subject: [PATCH] Try again with the worfklow threads --- .github/workflows/tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c52e75a6..f555e101 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,6 +6,10 @@ on: pull_request: branches: [ master ] +env: + OMP_NUM_THREADS=2 + MKL_NUM_THREADS=2 + jobs: test: name: Run tests on ${{ matrix.os }} with Python ${{ matrix.python }} @@ -38,8 +42,5 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi pip install git+https://github.com/mapillary/inplace_abn.git@v1.0.11 - name: Run tests - env: - OMP_NUM_THREADS=2 - MKL_NUM_THREADS=2 run: | pytest -vv --durations=0 ./tests