mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-08-22 15:42:27 +02:00
27 lines
585 B
YAML
27 lines
585 B
YAML
name: test-parallel-functions
|
|
kind: module
|
|
description: Test parallel function execution
|
|
tags: test,parallel,functions
|
|
|
|
params:
|
|
- name: target
|
|
required: true
|
|
|
|
steps:
|
|
- name: setup-test-file
|
|
type: bash
|
|
command: echo "test content" > /tmp/parallel-func-test.txt
|
|
|
|
- name: parallel-funcs
|
|
type: function
|
|
parallel_functions:
|
|
- trim(" hello ")
|
|
- contains("hello world", "world")
|
|
- fileExists("/tmp/parallel-func-test.txt")
|
|
exports:
|
|
func_results: "output"
|
|
|
|
- name: cleanup
|
|
type: bash
|
|
command: rm -f /tmp/parallel-func-test.txt
|