Skip to content

Add tests for naturalsize with non-integer bytes below the base #361

Add tests for naturalsize with non-integer bytes below the base

Add tests for naturalsize with non-integer bytes below the base #361

Workflow file for this run

name: Benchmark
on: [push, pull_request, workflow_dispatch]
permissions: {}
env:
FORCE_COLOR: 1
PIP_DISABLE_PIP_VERSION_CHECK: 1
jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.15"
allow-prereleases: true
- name: Install gettext
run: |
sudo apt install gettext
- name: Generate translation binaries
run: |
scripts/generate-translation-binaries.sh
- name: Install dependencies
run: pip install -e ".[tests]"
- name: Run benchmarks
uses: CodSpeedHQ/action@78102a468f96d8e0ccb92d0ec49425753fc42062 # v5.6.0
with:
mode: simulation
run: pytest tests/test_benchmarks.py --codspeed