ChangeType.update stac_dist/test_item_dont_merge/test_item_dont_merge.json #1327
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate generated stac item in the PR | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- '**' | |
- '!master' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: install dependencies | |
run: | | |
pip install -r ./stac/stac-generator/requirements.txt | |
- name: validate stac items | |
run: | | |
pytest --tb=no ./stac/stac-generator/test/validator.py |