Skip to content

Just run dmypy

Just run dmypy #107

Workflow file for this run

# 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/use-cases-and-examples/building-and-testing/building-and-testing-python
name: build
on:
push:
pull_request:
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.1
build:
strategy:
fail-fast: false
matrix:
python-version: [
"3.9",
"3.10",
"3.11",
"3.12",
"3.13.0a2",
]
runs-on: ubuntu-latest
container:
image: python:${{ matrix.python-version }}-slim
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
if [ -f requirements.test.txt ]; then pip install -r requirements.test.txt; fi
- name: Test with doctest
run: |
python shapefile.py
- name: Test with pytest
run: |
pytest