File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "template" : " /home/runner/work/cookiecutter-scverse/cookiecutter-scverse" ,
3- "commit" : " 6349ee2bf47c7d45ce9a4812fee6dfbf0a3303ee " ,
3+ "commit" : " 33fa0d92546b6a93da1c1491c50922eca9da5013 " ,
44 "checkout" : null ,
55 "context" : {
66 "cookiecutter" : {
3636 "trim_blocks" : true
3737 },
3838 "_template" : " /home/runner/work/cookiecutter-scverse/cookiecutter-scverse" ,
39- "_commit" : " 6349ee2bf47c7d45ce9a4812fee6dfbf0a3303ee "
39+ "_commit" : " 33fa0d92546b6a93da1c1491c50922eca9da5013 "
4040 }
4141 },
4242 "directory" : null
Original file line number Diff line number Diff line change @@ -32,16 +32,15 @@ jobs:
3232 - name : Get test environments
3333 id : get-envs
3434 run : |
35- MATRIX_JSON=$(uvx hatch env show --json | jq -c '[
36- keys[]
37- | select(startswith("hatch-test"))
38- | . as $env
39- | {
40- env_name: $env,
41- name: (if ($env | contains("pre")) then $env + " (PRE-RELEASE DEPENDENCIES)" else $env end),
42- python: .[$env].python
43- }
44- ]')
35+ MATRIX_JSON=$(uvx hatch env show --json | jq -c 'to_entries
36+ | map(
37+ select(.key | startswith("hatch-test"))
38+ | {
39+ env_name: .key,
40+ name: (if (.key | contains("pre")) then .key + " (PRE-RELEASE DEPENDENCIES)" else .key end),
41+ python: .value.python
42+ }
43+ )')
4544 echo "matrix=${MATRIX_JSON}" | tee $GITHUB_OUTPUT
4645
4746 test :
You can’t perform that action at this time.
0 commit comments