From 97f1bfd70c385c96e775848a7cef2c225b0c5d30 Mon Sep 17 00:00:00 2001 From: jluethi <joel.luethi@uzh.ch> Date: Fri, 13 Dec 2024 10:41:05 +0100 Subject: [PATCH] Add docs_link and update CI --- .copier-answers.yml | 2 +- .github/workflows/build_and_test.yml | 7 +++++-- src/ilastik_tasks/__FRACTAL_MANIFEST__.json | 3 ++- src/ilastik_tasks/dev/create_manifest.py | 6 +++++- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 0c33876..5e1b937 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Do not edit - changes here will be overwritten by Copier -_commit: v0.4.2 +_commit: v0.4.4 _src_path: gh:fractal-analytics-platform/fractal-tasks-template author_email: lorenzo.cerrone@uzh.ch author_name: Lorenzo Cerrone diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 85c9f01..4f51940 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -2,11 +2,14 @@ name: CI (build and test) on: push: - branches: ["main"] + branches: + - main tags: - "*" pull_request: - branches: ["main"] + workflow_dispatch: + release: + types: [published] jobs: diff --git a/src/ilastik_tasks/__FRACTAL_MANIFEST__.json b/src/ilastik_tasks/__FRACTAL_MANIFEST__.json index 0a90527..9dc7f76 100644 --- a/src/ilastik_tasks/__FRACTAL_MANIFEST__.json +++ b/src/ilastik_tasks/__FRACTAL_MANIFEST__.json @@ -104,7 +104,8 @@ "type": "object", "title": "IlastikPixelClassificationSegmentation" }, - "docs_info": "## ilastik_pixel_classification_segmentation\nRun Ilastik Pixel Classification on a Zarr image.\n" + "docs_info": "## ilastik_pixel_classification_segmentation\nRun Ilastik Pixel Classification on a Zarr image.\n", + "docs_link": "https://github.com/fractal-analytics-platform/fractal-ilastik-tasks" } ], "has_args_schemas": true, diff --git a/src/ilastik_tasks/dev/create_manifest.py b/src/ilastik_tasks/dev/create_manifest.py index c06ec11..5e3a5a0 100644 --- a/src/ilastik_tasks/dev/create_manifest.py +++ b/src/ilastik_tasks/dev/create_manifest.py @@ -7,4 +7,8 @@ if __name__ == "__main__": PACKAGE = "ilastik_tasks" AUTHORS = "Lorenzo Cerrone" - create_manifest(package=PACKAGE, authors=AUTHORS) + docs_link = "https://github.com/fractal-analytics-platform/fractal-ilastik-tasks" + if docs_link: + create_manifest(package=PACKAGE, authors=AUTHORS, docs_link=docs_link) + else: + create_manifest(package=PACKAGE, authors=AUTHORS)