Skip to content

tools/importer: skip build model if input schema is only for property #1526

tools/importer: skip build model if input schema is only for property

tools/importer: skip build model if input schema is only for property #1526

---
name: Importer from Rest API Specs (Unit Tests)
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '.github/workflows/**'
- 'config/**'
- 'submodules/rest-api-specs'
- 'tools/importer-rest-api-specs/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
submodules: recursive
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20.5'
- name: run unit tests
run: |
cd ./tools/importer-rest-api-specs
make test