mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-24 12:24:42 +00:00
simple openapi2jsonschema tests
This commit is contained in:
parent
dcc77ac3a3
commit
19be42b9a6
4 changed files with 84 additions and 65 deletions
|
|
@ -2,8 +2,13 @@
|
|||
|
||||
# This is really early days
|
||||
|
||||
test: build-python-bats docker-test docker-acceptance
|
||||
|
||||
build-python-bats:
|
||||
docker build -t python-bats -f Dockerfile.bats .
|
||||
|
||||
docker-test: build-python-bats
|
||||
docker run --entrypoint "/usr/local/bin/pytest" -t python-bats openapi2jsonschema.py
|
||||
|
||||
docker-acceptance: build-python-bats
|
||||
docker run --entrypoint "/usr/bin/bats" -t python-bats /code/acceptance.bats
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue