Skip to content

Pin CI Python to 3.13 to match Pipfile.lock (#179) #155

Pin CI Python to 3.13 to match Pipfile.lock (#179)

Pin CI Python to 3.13 to match Pipfile.lock (#179) #155

Workflow file for this run

name: Mapillary Python SDK - PyTest Workflow
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
# Pinned rather than "3.x": Pipfile.lock pins scipy==1.15.3, which
# publishes wheels only up to cp313. On a newer interpreter pip falls
# back to the sdist, which needs OpenBLAS and fails on ubuntu-latest.
python-version: "3.13"
- name: Install dependencies
run: |
make setup-dev
- name: Locally install branch's mapillary
run: |
make build && make local-install
- name: Formatting with black
run: |
make format
- name: Lint with flake8
run: |
make lint
- name: Test with pytest
run: |
make test