Skip to content

Commit c6991ae

Browse files
committed
Update method for checking manifest has not changed
1 parent e8305fa commit c6991ae

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/ci_poetry.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,7 @@ jobs:
9090
run: poetry install --with dev --without docs --no-interaction -E fractal-tasks
9191

9292
- name: Check if manifest has changed
93-
run: |
94-
poetry run python fractal_tasks_core/dev/create_manifest.py
95-
echo "*.json diff=json" >> .gitattributes && git config diff.json.textconv "jq --sort-keys '.' \$1"
96-
git diff ./fractal_tasks_core/__FRACTAL_MANIFEST__.json
97-
if [ -n "$(git diff --exit-code ./fractal_tasks_core/__FRACTAL_MANIFEST__.json)" ]; then
98-
echo "__FRACTAL_MANIFEST__.json has changed. Please run 'poetry run python fractal_tasks_core/dev/create_manifest.py' and commit the changes."
99-
exit 1
100-
else
101-
echo "__FRACTAL_MANIFEST__.json has not changed."
102-
fi
93+
run: poetry run fractal-manifest check --package fractal-tasks-core
10394

10495
- name: Cache Pooch folder
10596
id: cache-pooch-folder

0 commit comments

Comments
 (0)