Skip to content

Commit 652da9d

Browse files
committed
Update GHA for checking manifest
1 parent ab1784f commit 652da9d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,7 @@ jobs:
5353
key: pooch-cache
5454

5555
- name: Check if manifest has changed
56-
run: |
57-
if [ -n "$(git diff --exit-code ./src/fractal_helper_tasks/__FRACTAL_MANIFEST__.json)" ]; then
58-
echo "__FRACTAL_MANIFEST__.json has changed. Please run 'python src/fractal_helper_tasks/dev/create_manifest.py' and commit the changes."
59-
exit 1
60-
else
61-
echo "__FRACTAL_MANIFEST__.json has not changed."
62-
fi
56+
run: fractal-manifest check --package fractal-helper-tasks
6357

6458
- name: Test tasks with pytest
6559
run: pytest --color=yes --cov --cov-report=xml --cov-report=term-missing -s --log-cli-level debug

0 commit comments

Comments
 (0)