Skip to content

Modernize to 2.0.0: packaging, Cython, CLI, tests, CI/CD, Docker #2

Modernize to 2.0.0: packaging, Cython, CLI, tests, CI/CD, Docker

Modernize to 2.0.0: packaging, Cython, CLI, tests, CI/CD, Docker #2

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
jobs:
test:
name: py${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.11", "3.12", "3.13", "3.14"]
include:
- os: macos-latest
python-version: "3.12"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install (builds the Cython extension)
run: |
python -m pip install --upgrade pip
pip install -e '.[test,dataframe]'
- name: Lint
run: |
pip install ruff
ruff check bed_lookup tests
- name: Test
run: pytest -q