Skip to content

Update pyproject.toml #214

Update pyproject.toml

Update pyproject.toml #214

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
do-test:
name: Test on Python
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.10", "3.12"]
shapely-version: ["1.8", "2.0"]
exclude:
- python-version: "3.12"
shapely-version: "1.8"
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install test dependencies
run: |
python -m pip install flit codecov pytest flake8
- name: Install shapely version from matrix
run: python -m pip install "shapely~=${{ matrix.shapely-version }}"
- name: Install package dependencies
run: flit install --deps develop
- name: Lint with flake8
run: flake8 topojson
continue-on-error: true
- name: Test with pytest
run: pytest tests