diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca3fff68f..bd2419116 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,8 @@ jobs: strategy: matrix: python-version: ['3.8'] - toxenv: [quality, django32, django42] +# toxenv: [quality, django32, django42] + toxenv: [django42] steps: - uses: actions/checkout@v2 @@ -24,14 +25,16 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Dependencies - run: pip install -r requirements/ci.txt + run: | + python -m pip install --upgrade pip + pip install -r requirements/ci.txt - name: Run Tests run: tox -e ${{ matrix.toxenv }} - - name: Run Coverage - if: matrix.python-version == '3.8' && matrix.toxenv == 'django42' - uses: codecov/codecov-action@v3 - with: - flags: unittests - fail_ci_if_error: true +# - name: Run Coverage +# if: matrix.python-version == '3.8' && matrix.toxenv == 'django42' +# uses: codecov/codecov-action@v3 +# with: +# flags: unittests +# fail_ci_if_error: true diff --git a/tox.ini b/tox.ini index be9dfe707..bff10223a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,6 @@ [tox] -envlist = py38-django{32,42}, quality, docs +;envlist = py38-django{32,42}, quality, docs +envlist = py38-django{32} [pytest] DJANGO_SETTINGS_MODULE = xblock.test.settings @@ -15,8 +16,9 @@ deps = changedir = {envsitepackagesdir} commands = python -Wd -m pytest {posargs:xblock} + python -Wd -m pytest {posargs} python -m coverage xml - mv coverage.xml {toxinidir} + mv coverage.xml whitelist_externals = make mv