Add woodpecker CI configuration
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/tests Pipeline was successful

This commit is contained in:
Sonny Bakker 2024-12-26 20:20:21 +01:00
parent bf43603d65
commit aff565862c
9 changed files with 64 additions and 94 deletions

19
.woodpecker/lint.yaml Normal file
View file

@ -0,0 +1,19 @@
when:
- event: push
branch: main
- event: pull_request
steps:
- name: python linting
image: python:3.11
commands:
- pip install uv
- uv sync --extra testing --extra ci
- ./.venv/bin/ruff check src/
- ./.venv/bin/ruff format --check src/
- name: javascript linting
image: node:lts
commands:
- npm install
- npm run lint