Skip to content

fix: datacrunch-rally setup #13

fix: datacrunch-rally setup

fix: datacrunch-rally setup #13

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Validate Schema
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Validate
run: |
python validate.py \
--contact-api ${{ github.ref_name == 'master' }}
env:
API_BASE_URL: ${{ vars.API_BASE_URL }}
CRUNCHDAO_API_KEY: ${{ secrets.CRUNCHDAO_API_KEY }}