diff --git a/.github/workflows/sphinx-ext-pr.yml b/.github/workflows/sphinx-ext-pr.yml index dce0a3853..23e402c0f 100644 --- a/.github/workflows/sphinx-ext-pr.yml +++ b/.github/workflows/sphinx-ext-pr.yml @@ -67,10 +67,10 @@ jobs: - run: | python --version python -m pip install --upgrade pip - python -m pip install --upgrade tox + python -m pip install --upgrade hatch name: Setup Environment - run: | cd lib/esbonio-extensions - python -m tox -e py`echo ${{ matrix.python-version }} | tr -d .` - name: Test + hatch test -i py=${{ matrix.python-version }} + name: Run Tests diff --git a/lib/esbonio-extensions/tox.ini b/lib/esbonio-extensions/tox.ini index b8d91c6b0..9d662b4e4 100644 --- a/lib/esbonio-extensions/tox.ini +++ b/lib/esbonio-extensions/tox.ini @@ -1,16 +1,6 @@ [tox] isolated_build = True min_version = 4 -envlist = py{38,39,310,311,312} - -[testenv] -deps = - mock - pytest - pytest-cov -extras = tutorial -commands = - pytest --cov=esbonio [testenv:pkg] description = Prepare the resources to be shipped with the package