test(json): Load local (instead of deployed) schema files for standar… #389
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: Lint | |
on: [push, pull_request] | |
env: | |
BASEDIR: file://${{ github.workspace }} | |
jobs: | |
build: | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: pip | |
cache-dependency-path: '**/requirements*.txt' | |
- shell: bash | |
run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash - | |
- shell: bash | |
run: curl -s -S --retry 3 $BASEDIR/tests/script.sh | bash - |