Skip to content

[pre-commit.ci] pre-commit autoupdate (#20) #98

[pre-commit.ci] pre-commit autoupdate (#20)

[pre-commit.ci] pre-commit autoupdate (#20) #98

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9", "pypy3.10"]
name: Tests on Python ${{ matrix.python-version }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install host binaries
run: sudo apt-get update && sudo apt-get install -y busybox-static qemu-user-static
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install binharness
run: pip install -e .[dev]
- name: Run ruff
run: ruff .
- name: Run black
run: black --check .
- name: Run mypy
run: mypy binharness
- name: Run pytest
run: pytest