Skip to content

Commit 0e714fe

Browse files
committed
move integration test to hatch
1 parent 811c53a commit 0e714fe

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/integration.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python-version: '3.x'
2424

2525
- name: Install dependencies
26-
run: python3 -m pip install tox
26+
run: python3 -m pip install hatch
2727

28-
- name: Build docs
29-
run: python3 ./integration_tests/build_django.py
28+
- name: Test
29+
run: hatch run integration:django

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,8 @@ pkglint = [
8080
"twine check dist/*.tar.gz dist/*.whl",
8181
"check-python-versions --only pyproject.toml,.github/workflows/test.yml",
8282
]
83+
84+
[tool.hatch.envs.integration]
85+
dependencies = ["tox"]
86+
[tool.hatch.envs.integration.scripts]
87+
django = "./integration_tests/build_django.py"

0 commit comments

Comments
 (0)