Skip to content

Commit

Permalink
ci: move generate-hatch-matrix hook to push stage
Browse files Browse the repository at this point in the history
  • Loading branch information
ketozhang committed Dec 9, 2024
1 parent da0635e commit a9809f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/hatch-matrix.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,5 @@
{
"include": [
{
"hatch-env-name": "test.py3.10-numpy=1",
"python-version": "3.10"
},
{
"hatch-env-name": "test.py3.10-numpy=2",
"python-version": "3.10"
},
{
"hatch-env-name": "test.py3.11-numpy=1",
"python-version": "3.11"
},
{
"hatch-env-name": "test.py3.11-numpy=2",
"python-version": "3.11"
},
{
"hatch-env-name": "test.py3.12-numpy=1",
"python-version": "3.12"
},
{
"hatch-env-name": "test.py3.12-numpy=2",
"python-version": "3.12"
},
{
"hatch-env-name": "test.py3.10-numpy=1-asdf=3",
"python-version": "3.10"
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ repos:
- id: generate-hatch-matrix
name: generate-hatch-matrix
language: system
stages: [push]
entry: bash .github/workflows/generate-hatch-matrix.sh
files: |
(?x)^(
Expand Down

0 comments on commit a9809f4

Please sign in to comment.