Skip to content

Update permissions in codeql.yml workflow #134

Update permissions in codeql.yml workflow

Update permissions in codeql.yml workflow #134

Workflow file for this run

name: Run Tests
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install pip==25.1.0
pip install -r requirements.txt
python -m pip install .
- name: Test with pytest
run: |
cd tests/ && python -m pytest --cov jmespath --cov-report term-missing