Skip to content

Commit

Permalink
Merge pull request #86 from ralfhandl/schema-test
Browse files Browse the repository at this point in the history
Add schema stub and schema tests
  • Loading branch information
ralfhandl authored Nov 5, 2024
2 parents 4eb8eac + 1792a20 commit 004e0bc
Show file tree
Hide file tree
Showing 15 changed files with 1,957 additions and 29 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/schema-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ target
atlassian-ide-plugin.xml
node_modules/
deploy/
coverage/
history
Gemfile.lock
Loading

0 comments on commit 004e0bc

Please sign in to comment.