Skip to content

Merge pull request #177 from maxmind/dependabot/github_actions/pypa/c… #679

Merge pull request #177 from maxmind/dependabot/github_actions/pypa/c…

Merge pull request #177 from maxmind/dependabot/github_actions/pypa/c… #679

Workflow file for this run

name: Python tests
on:
push:
pull_request:
schedule:
- cron: '3 15 * * SUN'
jobs:
build:
strategy:
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
name: Python ${{ matrix.python-version }} on ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox (vendored libmaxminddb)
run: tox
env:
MAXMINDDB_REQUIRE_EXTENSION: 1
MM_FORCE_EXT_TESTS: 1