Skip to content

Use an explicit comparison to None for the converter of a field #157

Use an explicit comparison to None for the converter of a field

Use an explicit comparison to None for the converter of a field #157

Workflow file for this run

---
name: CodSpeed Benchmarks
on:
push:
branches: [main]
tags: ["*"]
paths:
- src/**.py
- bench/**
- .github/workflows/codspeed.yml
pull_request:
paths:
- src/**.py
- bench/**
- .github/workflows/codspeed.yml
workflow_dispatch:
env:
FORCE_COLOR: "1"
PIP_DISABLE_PIP_VERSION_CHECK: "1"
PIP_NO_PYTHON_VERSION_WARNING: "1"
permissions: {}
jobs:
codspeed:
name: Run CodSpeed benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version-file: .python-version-default
- uses: hynek/setup-cached-uv@v2
- name: Run CodSpeed benchmarks
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: uvx --with tox-uv tox run -e codspeed