-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
36 lines (35 loc) · 975 Bytes
/
action.yml
File metadata and controls
36 lines (35 loc) · 975 Bytes
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
33
34
35
36
name: 'Execute TestLemon runner'
description: 'TestLemon runner GitHub Action'
inputs:
image:
description: 'TestLemon Docker image.'
required: true
default: 'itbusina/testlemon:latest'
args:
description: 'The TestLemon arguments.'
required: true
input_dir:
description: 'The path to a directory with collection(s).'
required: false
default: 'test'
output_dir:
description: 'The directory path to save the report(s).'
required: false
default: 'output'
network:
description: 'The container network.'
required: false
default: 'host'
runs:
using: "composite"
steps:
- name: Execute TestLemon
shell: bash
run: |
docker run \
-v ${{ inputs.input_dir }}:/app/${{ inputs.input_dir }} \
-v ${{ inputs.output_dir }}:/app/${{ inputs.output_dir }} \
--rm \
--network=${{ inputs.network }} \
${{ inputs.image }} \
${{ inputs.args }}