Skip to content

Commit

Permalink
ci: name pr matrix based on hatch env name
Browse files Browse the repository at this point in the history
  • Loading branch information
ketozhang committed Nov 20, 2024
1 parent 4407a0d commit 9f2b509
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/hatch-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
"hatch-env-name": "test.py3.12-numpy-version=2",
"python-version": "3.12"
},
{
"hatch-env-name": "test.py3.13-numpy-version=1",
"python-version": "3.13"
},
{
"hatch-env-name": "test.py3.13-numpy-version=2",
"python-version": "3.13"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
id: set-matrix
run: echo "matrix=$(cat .github/workflows/hatch-matrix.json | jq -c )" >> $GITHUB_OUTPUT
test:
name: test (${{ matrix.hatch-env-name }})
runs-on: ubuntu-latest
needs: prepare-matrix
strategy:
Expand Down

0 comments on commit 9f2b509

Please sign in to comment.