build(deps): bump coverage from 7.6.9 to 7.6.10 (#810) #206
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmark | |
on: | |
push: | |
branches-ignore: | |
- "dependabot/**" | |
- "pre-commit-ci-update-config" | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: benchmark-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
benchmark: | |
name: Benchmark ${{ matrix.archs }} ${{ matrix.build }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
archs: ["x86_64"] | |
build: ["manylinux"] | |
steps: | |
- name: Set git to use LF | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Build wheel | |
uses: pypa/cibuildwheel@v2.22.0 | |
env: | |
CIBW_ARCHS: "${{ matrix.archs }}" | |
CIBW_BUILD: "cp312-${{ matrix.build }}*" | |
- uses: wntrblm/nox@2024.10.09 | |
name: Install Nox | |
with: | |
python-versions: "3.12" | |
- name: Install dependencies | |
run: nox -s benchmark --install-only -- --wheel wheelhouse/*.whl | |
- name: Run benchmark | |
uses: CodSpeedHQ/action@v3 | |
with: | |
run: nox -s benchmark --reuse-existing-virtualenvs --no-install -- -v |