mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-03 19:57:35 +00:00
fix: re-enable conformance skipping ability (#3651)
# What does this PR do? this was broken by #3631, re-enable this ability by only using oasdiff when .skip != 'true' Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
parent
7e48cc48bc
commit
f1748e2f92
1 changed files with 3 additions and 2 deletions
5
.github/workflows/conformance.yml
vendored
5
.github/workflows/conformance.yml
vendored
|
@ -96,6 +96,7 @@ jobs:
|
|||
|
||||
# Verify API specs exist for conformance testing
|
||||
- name: Check API Specs
|
||||
if: steps.skip-check.outputs.skip != 'true'
|
||||
run: |
|
||||
echo "Checking for API specification files..."
|
||||
|
||||
|
@ -134,10 +135,10 @@ jobs:
|
|||
- name: Run OpenAPI Breaking Change Diff
|
||||
if: steps.skip-check.outputs.skip != 'true'
|
||||
run: |
|
||||
oasdiff breaking --fail-on ERR base/docs/static/llama-stack-spec.yaml docs/static/llama-stack-spec.yaml --match-path '^/v1/'
|
||||
oasdiff breaking --fail-on ERR $BASE_SPEC $CURRENT_SPEC --match-path '^/v1/'
|
||||
|
||||
# Report when test is skipped
|
||||
- name: Report skip reason
|
||||
if: steps.skip-check.outputs.skip == 'true'
|
||||
run: |
|
||||
oasdiff breaking --fail-on ERR $BASE_SPEC $CURRENT_SPEC --match-path '^/v1/'
|
||||
echo "Conformance test skipped due to breaking change indicator"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue