@@ -23,36 +23,46 @@ jobs:
23
23
24
24
package : [skip]
25
25
github_repo : [skip]
26
+ github_branch : [skip]
26
27
manifest_path : [skip]
27
28
cmd_install : [skip]
28
29
cmd_create_manifest : [skip]
30
+ custom_dependencies : [skip]
29
31
30
32
include :
31
33
32
34
- package : scMultipleX
33
35
github_repo : fmi-basel/gliberal-scMultipleX
36
+ github_branch : main
34
37
manifest_path : src/scmultiplex/__FRACTAL_MANIFEST__.json
35
38
cmd_install : ' python -m pip install -e .[fractal-tasks]'
36
39
cmd_create_manifest : ' python src/scmultiplex/dev/create_manifest.py'
40
+ custom_dependencies : ' image_registration'
37
41
38
42
- package : fractal-helper-tasks
39
43
github_repo : jluethi/fractal-helper-tasks
44
+ github_branch : main
40
45
manifest_path : src/fractal_helper_tasks/__FRACTAL_MANIFEST__.json
41
46
cmd_install : ' python -m pip install -e .'
42
47
cmd_create_manifest : ' python src/fractal_helper_tasks/dev/create_manifest.py'
48
+ custom_dependencies : ' '
43
49
44
50
- package : APx_fractal_task_collection
45
51
github_repo : Apricot-Therapeutics/APx_fractal_task_collection
52
+ github_branch : pydantic_v2
46
53
manifest_path : src/apx_fractal_task_collection/__FRACTAL_MANIFEST__.json
47
54
cmd_install : ' python -m pip install -e .'
48
55
cmd_create_manifest : ' python src/apx_fractal_task_collection/dev/update_manifest.py'
56
+ custom_dependencies : ' '
49
57
50
58
exclude :
51
59
- package : skip
52
60
github_repo : skip
61
+ github_branch : skip
53
62
manifest_path : skip
54
63
cmd_install : skip
55
64
cmd_create_manifest : skip
65
+ custom_dependencies : skip
56
66
57
67
steps :
58
68
63
73
uses : actions/checkout@v4
64
74
with :
65
75
repository : ${{ matrix.github_repo }}
76
+ ref : ${{ matrix.github_branch }}
66
77
67
78
- uses : actions/setup-python@v5
68
79
with :
@@ -75,11 +86,29 @@ jobs:
75
86
- name : Install package
76
87
run : ${{ matrix.cmd_install }}
77
88
89
+ - name : Get current branch of `fractal-tasks-core`
90
+ uses : actions/checkout@v4
91
+ with :
92
+ path : fractal-tasks-core
93
+
94
+ - name : Install current fractal-tasks-core (this may fail)
95
+ run : python -m pip install -e ./fractal-tasks-core
96
+
97
+ - name : Install custom additional dependencies (see issue 803)
98
+ if : ${{ matrix.custom_dependencies != '' }}
99
+ run : python -m pip install ${{ matrix.custom_dependencies }}
100
+
78
101
- name : Create manifest
79
102
run : ${{ matrix.cmd_create_manifest }}
80
103
104
+ - name : Setup friendly diff style
105
+ run : echo "*.json diff=json" >> .gitattributes && git config diff.json.textconv "jq --sort-keys '.' \$1"
106
+
81
107
- name : Run git diff for manifest
82
108
run : git diff ${{ matrix.manifest_path }}
83
109
110
+ - name : Clean up before checking repo status
111
+ run : rm -rf fractal-tasks-core .gitattributes
112
+
84
113
- name : Check repo status
85
114
run : if [[ -z $(git status -s) ]]; then echo "Clean status"; else echo "Dirty status"; git status; exit 1; fi
0 commit comments