Skip to content

chore(deps): update all non-major dependencies in .github/workflows/p… #121

chore(deps): update all non-major dependencies in .github/workflows/p…

chore(deps): update all non-major dependencies in .github/workflows/p… #121

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Python
on:
push:
branches: [ "main" ]
paths:
- "src/**"
- "tests/**"
- ".github/**"
- "g4/**"
- "pyproject.toml"
pull_request:
branches: [ "main" ]
paths:
- "src/**"
- "tests/**"
- ".github/**"
- "g4/**"
- "pyproject.toml"
jobs:
python:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ['3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Set up Python 3
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@803947b9bd8e9f986429fa0c5a41c367cd732b41 # v7
with:
enable-cache: true
- name: Set up Python 3
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: ${{ matrix.python-version }}
- name: "Generate parser files"
run: |
./generate.sh
- name: Install dependencies
run: |
uv sync --all-extras --dev
- name: "Run unit tests"
run: |
uv run pytest -vs