Skip to content

Commit a9809f4

Browse files
committed
ci: move generate-hatch-matrix hook to push stage
1 parent da0635e commit a9809f4

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

.github/workflows/hatch-matrix.json

-24
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,5 @@
11
{
22
"include": [
3-
{
4-
"hatch-env-name": "test.py3.10-numpy=1",
5-
"python-version": "3.10"
6-
},
7-
{
8-
"hatch-env-name": "test.py3.10-numpy=2",
9-
"python-version": "3.10"
10-
},
11-
{
12-
"hatch-env-name": "test.py3.11-numpy=1",
13-
"python-version": "3.11"
14-
},
15-
{
16-
"hatch-env-name": "test.py3.11-numpy=2",
17-
"python-version": "3.11"
18-
},
19-
{
20-
"hatch-env-name": "test.py3.12-numpy=1",
21-
"python-version": "3.12"
22-
},
23-
{
24-
"hatch-env-name": "test.py3.12-numpy=2",
25-
"python-version": "3.12"
26-
},
273
{
284
"hatch-env-name": "test.py3.10-numpy=1-asdf=3",
295
"python-version": "3.10"

.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ repos:
3838
- id: generate-hatch-matrix
3939
name: generate-hatch-matrix
4040
language: system
41+
stages: [push]
4142
entry: bash .github/workflows/generate-hatch-matrix.sh
4243
files: |
4344
(?x)^(

0 commit comments

Comments
 (0)