Skip to content

chore(deps): lock file maintenance (#1984) #5083

chore(deps): lock file maintenance (#1984)

chore(deps): lock file maintenance (#1984) #5083

Workflow file for this run

name: PR Test
on:
pull_request:
branches:
- develop
- release**
merge_group:
branches:
- develop
- release**
push:
branches:
- develop
- release**
permissions:
# The id-token permission is required by Codecov to use OIDC
id-token: write
# This is what will cancel the workflow concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
pr_test:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-24.04", "windows-2022", "macos-15"]
python-version: ["3.10", "3.14"]
name: pr test (${{ matrix.os }}, Python ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
steps:
- name: Harden the runner (audit all outbound calls)
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: audit
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Installing Rust toolchain
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561
with:
toolchain: stable
- name: Install uv and set the python version
uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
with:
enable-cache: false
python-version: ${{ matrix.python-version }}
version: "0.8.15"
- name: Installing dependencies
run: uv sync --locked --all-extras --dev
- name: Tests
run: uv run pytest --cov --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
flags: ${{ matrix.os }}_Python-${{ matrix.python-version }}
use_oidc: true