-
Notifications
You must be signed in to change notification settings - Fork 7
32 lines (29 loc) · 940 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: test bioimageio resource
run-name: test ${{inputs.resource_id}} ${{inputs.version}}
on:
workflow_dispatch:
inputs:
resource_id:
description: "Bioimage.io resource identifier"
required: true
type: string
version:
description: "(Published) version number or staged version number prefixed with 'staged/', e.g. 'staged/1'"
required: true
type: number
sandbox:
description: staged resource is on sandbox
required: false
default: false
type: boolean
concurrency: ${{inputs.resource_id}}
jobs:
call:
uses: bioimage-io/collection/.github/workflows/test_call.yaml@main
with:
resource_id: ${{inputs.resource_id}}
version: ${{inputs.version}}
S3_HOST: ${{vars.S3_HOST}}
S3_BUCKET: ${{vars.S3_BUCKET}}
S3_FOLDER: ${{inputs.sandbox && vars.S3_SANDBOX_FOLDER || vars.S3_FOLDER}}
secrets: inherit