Skip to content

chore: update pre-commit hooks #266

chore: update pre-commit hooks

chore: update pre-commit hooks #266

Workflow file for this run

name: "build"
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
build:
name: Build with Pip
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [windows-latest, macos-13, ubuntu-22.04]
python-version: ["3.10", "pypy-3.9"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: maxim-lobanov/setup-xcode@v1
if: matrix.platform == 'macos-13'
with:
xcode-version: 'latest'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Update GCC
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y g++-11
- name: Build and install
run: pip install --verbose .
- name: Test
run: pytest