From 1c571584a4fee264de541094572655efccdf20a2 Mon Sep 17 00:00:00 2001 From: Torrie Fischer Date: Sat, 18 Feb 2023 18:00:19 +0100 Subject: [PATCH] woodpecker: add static analysis --- .woodpecker.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5d8f1a3..a77b489 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,22 +1,29 @@ pipeline: build_bike: group: build - image: python + image: python:3-alpine commands: + - apk add yajl-tools - pip install -U platformio - pio run -e bike -e bike_ble - pio run -e bike -e bike_ble --target buildfs build_esp32: group: build - image: python + image: python:3-alpine commands: + - apk add yajl-tools - pip install -U platformio - pio run -e esp32 -e esp32_wifi -e esp32_bluetooth - pio run -e esp32 -e esp32_wifi -e esp32_bluetooth --target buildfs build_8266: group: build - image: python + image: python:3-alpine commands: + - apk add yajl-tools - pip install -U platformio - pio run -e esp8266 -e esp8266_wifi - pio run -e esp8266 -e esp8266_wifi --target buildfs + check: + commands: + - pip install -U platformio + - pio check