Skip to content

Commit

Permalink
Adding a Github workflow fo testimony validation
Browse files Browse the repository at this point in the history
  • Loading branch information
zpetrace committed Oct 10, 2024
1 parent 595f880 commit c25e5d2
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/testimony.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Testimony Validation

on:
pull_request:
paths:
- "integration-tests/**"

jobs:
testimony:
name: testimony validate
runs-on: ubuntu-latest
container:
image: fedora:latest

steps:
- name: Setup for Testimony
run: |
dnf --setopt install_weak_deps=False install -y \
python3-pip
python3 -m pip install testimony
- uses: actions/checkout@v4

- name: Run Testimony
run: |
testimony validate --config \
integration-tests/testimony.yml integration-tests/
49 changes: 49 additions & 0 deletions integration-tests/testimony.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
Id:
casesensitive: false
required: true
type: string
CaseComponent:
casesensitive: false
required: true
type: string
Requirement:
casesensitive: false
required: true
type: choice
choices:
- RHSS-291297
SubSystemTeam:
casesensitive: false
required: true
type: choice
choices:
- sst_csi_client_tools
CaseAutomation:
casesensitive: false
required: true
type: string
Upstream:
casesensitive: false
type: string
Title:
casesensitive: false
type: string
Description:
casesensitive: false
required: true
type: string
Tags:
casesensitive: true
required: true
type: choice
choices:
- Tier 1
- Tier 2
- Tier 3
Steps: {}
ExpectedResults: {}
Reference:
casesensitive: false
required: false
type: string

0 comments on commit c25e5d2

Please sign in to comment.