Skip to content

chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.276 #567

chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.276

chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.0.276 #567

Workflow file for this run

name: Python package
on:
push:
branches-ignore:
- renovate/**
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.cache/pre-commit
key: ${{ runner.os }}-pip-test-${{ hashFiles('**/requirements*.txt') }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install -r requirements-test.txt
- name: Compile
env:
CFLAGS: -Wall -Wextra -Wno-unused-parameter -Werror
run: python setup.py build
- name: Install
run: pip install .
- name: Test
run: pytest test_siphashc.py README.rst
- name: Benchmark
run: python benchmark.py