Skip to content

Merge pull request #169 from boidolr/renovate/github-codeql-action-di… #592

Merge pull request #169 from boidolr/renovate/github-codeql-action-di…

Merge pull request #169 from boidolr/renovate/github-codeql-action-di… #592

name: Tests
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
schedule:
- cron: "5 7 */9 * *"
workflow_dispatch:
permissions:
contents: read
pull-requests: read
jobs:
build:
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
runs-on: ubuntu-latest
env:
# renovate: datasource=github-releases depName=uv
UV_VERSION: "0.4.20"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: astral-sh/setup-uv@2e657c127d5b1635d5a8e3fa40e0ac50a5bf6992 # v3
with:
enable-cache: true
version: ${{ env.UV_VERSION }}
- name: Install Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Execute tests
run: uv tool run tox -e ${{ matrix.python-version }}
precommit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: boidolr/actions/run-precommit@main