Move and more aptly name check_examples.py scripts

anoa/support-rendered-data
Andrew Morgan 4 years ago
parent abdcf8d41c
commit 26a2e4a873

@ -5,9 +5,10 @@ gendoc: &gendoc
scripts/gendoc.py
genswagger: &genswagger
name: Generate the swagger
name: Validate sources and generate swagger json
command: |
source /env/bin/activate
scripts/check-swagger-sources.py
scripts/dump-swagger.py
buildswaggerui: &buildswaggerui
@ -27,10 +28,7 @@ checkexamples: &checkexamples
name: Check Event Examples
command: |
source /env/bin/activate
cd event-schemas
./check_examples.py
cd ../api
./check_examples.py
scripts/check-event-schema-examples.py
genmatrixassets: &genmatrixassets
name: Generate/Verify matrix.org assets

@ -14,9 +14,9 @@ pip --version
pip install -r scripts/requirements.txt
# do sanity checks on the examples and swagger
(cd event-schemas/ && ./check_examples.py)
(cd api && ./check_examples.py)
(cd api && npm install && node validator.js -s "client-server")
scripts/check-event-schema-examples.py
scripts/check-swagger-sources.py
(cd event-schemas/api && npm install && node validator.js -s "client-server")
: ${GOPATH:=${WORKSPACE}/.gopath}
mkdir -p "${GOPATH}"

Loading…
Cancel
Save