chore(deps): update srealmoreno/label-sync-action action to v2 #931
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-24.04 | |
strategy: | |
matrix: | |
python-version: | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
- '3.13' | |
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 | |
allow-prereleases: true | |
- 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 |