Skip to content

Merge branch 'main' into 2024-12-18 #473

Merge branch 'main' into 2024-12-18

Merge branch 'main' into 2024-12-18 #473

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13']
jsonref-version: ["==0.3", ">1"]
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
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