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