Skip to content

Commit f8a25d6

Browse files
Update instance repo from cookiecutter template
1 parent ad07e8f commit f8a25d6

2 files changed

Lines changed: 11 additions & 12 deletions

File tree

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "/home/runner/work/cookiecutter-scverse/cookiecutter-scverse",
3-
"commit": "6349ee2bf47c7d45ce9a4812fee6dfbf0a3303ee",
3+
"commit": "33fa0d92546b6a93da1c1491c50922eca9da5013",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -36,7 +36,7 @@
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

.github/workflows/test.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)