Skip to content

Relax pin for jsonschema #14

Relax pin for jsonschema

Relax pin for jsonschema #14

Workflow file for this run

name: testing
on:
pull_request:
branches:
- dev
- master
- test
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
env:
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
name: build
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install jsonschema
pip install -e .
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f test_requirements.txt ]; then pip install -r test_requirements.txt; fi
- name: Test with pytest
run: |
pytest -s tests/test_search_helper.py
# pytest -s tests/test_sub_helpers.py
# pytest -s tests/test_toolbox.py