Skip to content

Commit

Permalink
Merge pull request #1131 from jbants/dev
Browse files Browse the repository at this point in the history
CI Validation
  • Loading branch information
cholmes authored May 25, 2021
2 parents 7363844 + 8b14d60 commit 45d0789
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
jobs:
test_examples:
test_examples_node:
working_directory: ~/stac
docker:
- image: circleci/node:12
Expand All @@ -12,6 +12,18 @@ jobs:
- run:
name: validate
command: npm run check-examples
test_examples_python:
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 @@ -43,7 +55,8 @@ workflows:
version: 2
ci:
jobs:
- test_examples
- test_examples_node
- test_examples_python
- test_docs
- publish_schemas:
filters:
Expand Down

0 comments on commit 45d0789

Please sign in to comment.