From 06b21998d8de4522293074075e0ef6da8cc28fb7 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 24 Dec 2022 17:58:06 +0100 Subject: [PATCH] try running the test pipeline in woodpecker --- .woodpecker/bw-test.yml | 23 +++++++++++++++++++++++ .woodpecker/editorconfig.yml | 8 ++++++++ 2 files changed, 31 insertions(+) create mode 100644 .woodpecker/bw-test.yml create mode 100644 .woodpecker/editorconfig.yml diff --git a/.woodpecker/bw-test.yml b/.woodpecker/bw-test.yml new file mode 100644 index 0000000..efa4e3d --- /dev/null +++ b/.woodpecker/bw-test.yml @@ -0,0 +1,23 @@ +pipeline: + install-deps: + image: python:3.10-slim + commands: + - pip install -r requirements.txt + + test-dummymode: + image: python:3.10-slim + commands: + - bw test + environment: + BW_VAULT_DUMMY_MODE: 1 + BW_PASS_DUMMY_MODE: 1 + + test-ignore-missing-faults: + image: python:3.10-slim + commands: + - bw test --ignore-missing-faults + + test-determinism: + image: python:3.10-slim + commands: + - bw test --metadata-determinism 3 --config-determinism 3 diff --git a/.woodpecker/editorconfig.yml b/.woodpecker/editorconfig.yml new file mode 100644 index 0000000..6bac4f8 --- /dev/null +++ b/.woodpecker/editorconfig.yml @@ -0,0 +1,8 @@ +pipeline: + editorconfig: + image: alpine:latest + pipeline: + - wget -O ec-linux-amd64.tar.gz https://github.com/editorconfig-checker/editorconfig-checker/releases/latest/download/ec-linux-amd64.tar.gz + - tar -xzf ec-linux-amd64.tar.gz + - rm ec-linux-amd64.tar.gz + - bin/ec-linux-amd64 -no-color -exclude '^bin/'