Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/docstrings_validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Test Docstrings Validation

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

jobs:
betelgeuse:
name: "betelgeuse dry-run"
runs-on: ubuntu-latest
container:
image: fedora:latest

steps:
- uses: actions/checkout@v4

- name: Base setup for Betelgeuse
run: |
dnf --setopt install_weak_deps=False install -y \
python3-pip
python3 -m pip install betelgeuse

- name: Run Betelgeuse
run: |
PYTHONPATH=tests/ betelgeuse --config-module \
custom_betelgeuse_config test-case --dry-run \
tests/ dryrun_project ./test_case.xml
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:
- "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 \
tests/testimony.yml tests/test*
15 changes: 15 additions & 0 deletions tests/custom_betelgeuse_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from betelgeuse import default_config

TESTCASE_CUSTOM_FIELDS = default_config.TESTCASE_CUSTOM_FIELDS + (
"component",
"poolteam",
"polarionincludeskipped",
"polarionlookupmethod",
"polarionprojectid",
)

DEFAULT_COMPONENT_VALUE = ""
DEFAULT_POOLTEAM_VALUE = ""
POLARION_INCLUDE_SKIPED = ""
POLARION_LOOKUP_METHOD = ""
POLARION_PROJECT_ID = ""
Loading