17 lines
267 B
YAML
17 lines
267 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: test & lint python code
|
||
|
|
||
|
|
||
|
trigger:
|
||
|
event:
|
||
|
- push
|
||
|
- pull_request
|
||
|
|
||
|
steps:
|
||
|
- name: test & lint
|
||
|
image: python:3.12-alpine
|
||
|
commands:
|
||
|
- pipx install poetry
|
||
|
- poetry install
|
||
|
- poetry run python3 main.py
|