-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #305 from OAI/v1.0-dev
Merge v1.0-dev changes to dev
- Loading branch information
Showing
22 changed files
with
5,713 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: schema-tests | ||
|
||
# Author: @MikeRalphson / runs @jdesrosiers tests | ||
# Issue: https://github.com/OAI/OpenAPI-Specification/pull/2489 | ||
|
||
# | ||
# This workflow runs the npm test script to validate passing and failing | ||
# testcases for the metaschemas | ||
# | ||
|
||
# run this on push to any branch and creation of pull-requests | ||
on: | ||
push: {} | ||
pull_request: {} | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
test: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 # checkout repo content | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-node@v4 # setup Node.js | ||
with: | ||
node-version: '20.x' | ||
|
||
- name: Install dependencies from main | ||
run: | | ||
# git checkout remotes/origin/main -- package.json package-lock.json #TODO: uncomment with subsequent PR | ||
npm ci | ||
- name: Run tests | ||
run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,3 @@ jobs: | |
node-version: '18.x' | ||
- name: Validate markdown | ||
run: npx mdv versions/1.*.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ node_modules/ | |
deploy/ | ||
history | ||
Gemfile.lock | ||
coverage/ |
Oops, something went wrong.