Skip to content

Commit 3b181b2

Browse files
committed
split up script runs
1 parent 8054b05 commit 3b181b2

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

.github/workflows/test.yml

+17-7
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,35 @@ on:
1111
- cron: "0 0 * * 0"
1212

1313
jobs:
14-
python-exhaustive:
14+
test-py-cov:
1515
uses: ./.github/workflows/.hatch-run.yml
1616
with:
1717
job-name: "python-{0}"
18-
hatch-run: "check-py"
19-
python-environments:
18+
hatch-run: "test-py"
19+
lint-py:
20+
uses: ./.github/workflows/.hatch-run.yml
21+
with:
22+
job-name: "python-{0}"
23+
hatch-run: "lint-py"
24+
test-py-matrix:
2025
uses: ./.github/workflows/.hatch-run.yml
2126
with:
2227
job-name: "python-{0} {1}"
23-
hatch-run: "check-py --no-cov"
28+
hatch-run: "test-py --no-cov"
2429
runs-on-array: '["ubuntu-latest", "macos-latest", "windows-latest"]'
2530
python-version-array: '["3.9", "3.10", "3.11"]'
26-
docs:
31+
test-docs:
2732
uses: ./.github/workflows/.hatch-run.yml
2833
with:
2934
job-name: "python-{0}"
3035
hatch-run: "test-docs"
31-
javascript:
36+
test-js:
37+
uses: ./.github/workflows/.hatch-run.yml
38+
with:
39+
job-name: "{1}"
40+
hatch-run: "test-js"
41+
lint-js:
3242
uses: ./.github/workflows/.hatch-run.yml
3343
with:
3444
job-name: "{1}"
35-
hatch-run: "test-js lint-js"
45+
hatch-run: "lint-js"

pyproject.toml

-4
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ post-install-commands = ["invoke env"]
1414
[tool.hatch.envs.default.scripts]
1515
publish = "invoke publish {args}"
1616

17-
check-py = "invoke test-py {args} lint-py"
18-
check-js = "invoke test-js lint-js"
19-
2017
lint-py = "invoke lint-py {args}"
2118
lint-js = "invoke lint-js {args}"
2219

@@ -29,7 +26,6 @@ test-docs = "invoke test-docs"
2926
[tool.black]
3027
target-version = ["py39"]
3128
line-length = 88
32-
skip-string-normalization = true
3329

3430
# --- Ruff -----------------------------------------------------------------------------
3531

0 commit comments

Comments
 (0)