Add woodpecker CI configuration
This commit is contained in:
parent
bf43603d65
commit
aff565862c
9 changed files with 64 additions and 94 deletions
19
.woodpecker/lint.yaml
Normal file
19
.woodpecker/lint.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue