Skip to content

Commit

Permalink
ext: Use hatch for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
alcarney committed Aug 21, 2024
1 parent 3bef10b commit 6fae47c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sphinx-ext-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 0 additions & 10 deletions lib/esbonio-extensions/tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 6fae47c

Please sign in to comment.