|
pipeline:
|
|
build:
|
|
image: python:3.10-alpine
|
|
commands:
|
|
- apk --no-cache add --update git gfortran musl-dev openblas cmake llvm15 gcc build-base
|
|
- export FILES="$(git diff --name-only HEAD HEAD~1)"
|
|
- pip install poetry pre-commit
|
|
- poetry install
|
|
- pre-commit run --files "$FILES"
|