chore(deps): update pypa/cibuildwheel action to v2.21.1 #914
Workflow file for this run
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: Python package | |
on: | |
push: | |
branches-ignore: | |
- renovate/** | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-version: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
cache-dependency-path: requirements*.txt | |
- run: pip install -r requirements-test.txt | |
- name: Compile | |
env: | |
CFLAGS: -Wall -Wextra -Wno-unused-parameter -Werror | |
run: python -m build | |
- name: Install | |
run: pip install dist/*.whl | |
- name: Test | |
run: pytest test_siphashc.py README.rst | |
- name: Benchmark | |
run: python benchmark.py |