Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit 438e19f

Browse files
andy-neumamarcella-found
authored andcommitted
seed workflow (#19)
SUMMARY * add callable seed workflow for initial boundary testing Co-authored-by: marcella-found <marcella.found@gmail.com>
1 parent 7a957b3 commit 438e19f

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: build-test
2+
on:
3+
# makes workflow reusable
4+
workflow_call:
5+
inputs:
6+
label:
7+
description: "requested runner label (specifies instance)"
8+
type: string
9+
required: true
10+
timeout:
11+
description: "time limit for run in minutes "
12+
type: string
13+
required: true
14+
gitref:
15+
description: "git commit hash or branch name"
16+
type: string
17+
required: true
18+
python:
19+
description: "python version, e.g. 3.10.12"
20+
type: string
21+
required: true
22+
23+
# makes workflow manually callable
24+
workflow_dispatch:
25+
inputs:
26+
label:
27+
description: "requested runner label (specifies instance)"
28+
type: string
29+
required: true
30+
timeout:
31+
description: "time limit for run in minutes "
32+
type: string
33+
required: true
34+
gitref:
35+
description: "git commit hash or branch name"
36+
type: string
37+
required: true
38+
python:
39+
description: "python version, e.g. 3.10.12"
40+
type: string
41+
required: true
42+
43+
jobs:
44+
45+
BUILD-TEST:
46+
47+
runs-on: ${{ inputs.label }}
48+
timeout-minutes: ${{ fromJson(inputs.timeout) }}
49+
50+
steps:
51+
52+
- name: checkout
53+
id: checkout
54+
uses: actions/checkout@v4
55+
with:
56+
fetch-depth: 0
57+
ref: ${{ inputs.gitref }}
58+
submodules: recursive
59+
60+
- name: hello world
61+
run: |
62+
echo "HELLO WORLD" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)