Skip to content

Commit

Permalink
Ci validation (#2)
Browse files Browse the repository at this point in the history
* Added python stac-validator to circle ci

* Tested CI with broken examples
  • Loading branch information
jbants authored May 11, 2021
1 parent 7363844 commit d811ae2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ jobs:
- run:
name: validate
command: npm run check-examples
test_examples_2:
working_directory: ~/stac
docker:
- image: circleci/python:3.8
steps:
- checkout
- run:
name: install
command: pip install stac-validator
- run:
name: validate
command: find ./examples -type f -name "*.json" | xargs -L1 stac_validator
test_docs:
working_directory: ~/stac
docker:
Expand Down Expand Up @@ -44,6 +56,7 @@ workflows:
ci:
jobs:
- test_examples
- test_examples_2
- test_docs
- publish_schemas:
filters:
Expand Down

0 comments on commit d811ae2

Please sign in to comment.