Skip to content

readthedocs: Fix build by install requirements_dev.txt #333

readthedocs: Fix build by install requirements_dev.txt

readthedocs: Fix build by install requirements_dev.txt #333

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
jsonref-version: ["==0.3", ">1"]
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install normal dependencies
run: pip install -r requirements_dev.txt
- run: pip install 'jsonref${{ matrix.jsonref-version }}'
- name: Test with normal dependencies
run: py.test -m "not geo" --cov .
- name: Install geo dependencies
run: pip install -e .[geo]
- name: Test with geo dependencies
run: py.test -m "geo" --cov --cov-append .
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --service=github || true