Skip to content

Add support for Python 3.12 and drop EOL <= 3.7 #104

Add support for Python 3.12 and drop EOL <= 3.7

Add support for Python 3.12 and drop EOL <= 3.7 #104

Workflow file for this run

name: Run Tests
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
pip install pip==23.2.1
pip install -r requirements.txt
python -m build --wheel
pip install dist/*.whl
- name: Test with pytest
run: |
cd tests/ && py.test --cov jmespath --cov-report term-missing