diff --git a/.github/workflows/libvmaf.yml b/.github/workflows/libvmaf.yml index be6488d2d..7ac71a45c 100644 --- a/.github/workflows/libvmaf.yml +++ b/.github/workflows/libvmaf.yml @@ -78,7 +78,7 @@ jobs: - name: Run tox tests run: | mkdir -p ~/.ccache && sudo chown -R $(whoami) ~/.ccache - pip install 'tox<4' + pip install tox tox -c python/ -e py -- -v -p no:warnings -m 'main or lib' --doctest-modules - name: Get binary path & Current Release diff --git a/python/tox.ini b/python/tox.ini index 0a064f139..4f15faba2 100644 --- a/python/tox.ini +++ b/python/tox.ini @@ -3,7 +3,11 @@ envlist = py38, coverage [testenv] -passenv = APPVEYOR* CI SSL_CERT_FILE TEST_MARKER TRAVIS* +passenv = APPVEYOR* + CI + SSL_CERT_FILE + TEST_MARKER + TRAVIS* setenv = COVERAGE_FILE={toxworkdir}/.coverage.{envname} usedevelop = True deps = -rrequirements.txt