Skip to content

Commit

Permalink
ci: add test for both current and legacy separator
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Dec 4, 2024
1 parent b988dfb commit a394c03
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,20 @@ jobs:
run: npm ci && npm run build:gha
working-directory: rdme-repo

- name: Run `openapi:validate` command
- name: Run `openapi validate` command
uses: ./rdme-repo/
with:
rdme: openapi validate oas-examples-repo/3.1/json/petstore.json

- name: Run `openapi validate` command (legacy topic separator)
uses: ./rdme-repo/
with:
rdme: openapi:validate oas-examples-repo/3.1/json/petstore.json

- name: Run `openapi:validate` with filename in quotes
- name: Run `openapi validate` with filename in quotes
uses: ./rdme-repo/
with:
rdme: openapi:validate "oas-examples-repo/3.1/json/petstore.json"
rdme: openapi validate "oas-examples-repo/3.1/json/petstore.json"

# Docs: https://rdme-test.readme.io
- name: Run `openapi` command
Expand Down

0 comments on commit a394c03

Please sign in to comment.