Skip to content

Commit 3598a41

Browse files
committed
🐛 dependencies
1 parent 6a33a03 commit 3598a41

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

tests/example-project/.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ jobs:
4848
- name: Test Suite
4949
run: |
5050
echo "::add-matcher::.github/workflows/matchers/python.json"
51-
hatch run +py="${{ matrix.python }}" all:cov
51+
hatch run test:cov
5252
echo "::remove-matcher owner=python::"

tests/example-project/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ omit = [
5353
parallel = true
5454
source_pkgs = ["example_project", "tests"]
5555

56-
[[tool.hatch.envs.all.matrix]]
57-
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
56+
[tool.hatch.env]
57+
requires = ["hatch-pip-compile"]
5858

5959
[tool.hatch.envs.default]
6060
pip-compile-constraint = "default"

{{cookiecutter.repo_name}}/.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ jobs:
4848
- name: Test Suite
4949
run: |
5050
echo "::add-matcher::.github/workflows/matchers/python.json"
51-
hatch run +py="${{"{{"}} matrix.python {{"}}"}}" all:cov
51+
hatch run test:cov
5252
echo "::remove-matcher owner=python::"

{{cookiecutter.repo_name}}/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ omit = [
5555
parallel = true
5656
source_pkgs = ["{{ cookiecutter.project_slug }}", "tests"]
5757

58-
[[tool.hatch.envs.all.matrix]]
59-
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
58+
[tool.hatch.env]
59+
requires = ["hatch-pip-compile"]
6060

6161
[tool.hatch.envs.default]
6262
pip-compile-constraint = "default"

0 commit comments

Comments
 (0)