diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 26bdfe8..fb05c9b 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -55,8 +55,8 @@ jobs: - name: Install dependencies run: | - pip install --requirement requirements.txt --upgrade --quiet --find-links https://download.pytorch.org/whl/cpu/torch_stable.html --use-feature=2020-resolver - pip install --requirement tests/requirements.txt --quiet --use-feature=2020-resolver + pip install --requirement requirements.txt --upgrade --quiet --find-links https://download.pytorch.org/whl/cpu/torch_stable.html + pip install --requirement tests/requirements.txt --quiet python --version pip --version pip list @@ -64,7 +64,7 @@ jobs: - name: Tests run: | - coverage run --source src,detoxify -m py.test src tests -v --junitxml=junit/test-results-${{ runner.os }}-${{ matrix.python-version }}.xml + coverage run --source src,detoxify -m pytest src tests -v --junitxml=junit/test-results-${{ runner.os }}-${{ matrix.python-version }}.xml - name: Statistics if: success()