-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
46 lines (42 loc) · 1.37 KB
/
action.yaml
File metadata and controls
46 lines (42 loc) · 1.37 KB
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
37
38
39
40
41
42
43
44
45
# 📡 PDS: PDS4 Validation Action
# ===================================
#
# This is a GitHub action validates PDS4 XML labels
---
name: '✅ PDS Engineering: PDS Validate'
author: 'Jordan Padams <jordan.h.padams@jpl.nasa.gov>'
branding:
icon: 'flag'
color: 'blue'
inputs:
datapath:
description: |
Absolute path to PDS4 XML labels and associated data to validate
required: true
schemas:
description: |
Path(s) to schemas to use for validation. By default, validate will use the schemas specified in the PDS4 labels.
required: false
schematrons:
description: |
Path(s) to schematrons to use for validation. By default, validate will use the schemas specified in the PDS4 labels.
required: false
skip_content_validation:
description: |
Flag to disable data product content validation. This checks the actual bits in the data product match the XML specification. By default, this is enabled.
required: false
default: 'false'
failure_expected:
description: |
Flag to specify that validation failure is expected. This is intended for failure regression test cases.
required: false
default: 'false'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{inputs.datapath}}
- ${{inputs.schemas}}
- ${{inputs.schematrons}}
- ${{inputs.skip_content_validation}}
- ${{inputs.failure_expected}}