From 2a5945de3e190ca72ec2c185641fdec9ca5dca99 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 7 Dec 2023 16:04:32 +0100 Subject: [PATCH] chore: enable wp (#4) Reviewed-on: https://gitea.rknet.org/xoxys/test/pulls/4 Co-authored-by: Robert Kaussow Co-committed-by: Robert Kaussow --- .woodpecker/demo.yml | 12 ++++++++++++ .woodpecker/test.yml | 25 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .woodpecker/demo.yml create mode 100644 .woodpecker/test.yml diff --git a/.woodpecker/demo.yml b/.woodpecker/demo.yml new file mode 100644 index 0000000..16a7878 --- /dev/null +++ b/.woodpecker/demo.yml @@ -0,0 +1,12 @@ +--- +when: + - event: [pull_request, tag] + - event: [push, manual] + branch: + - ${CI_REPO_DEFAULT_BRANCH} + +steps: + demo: + image: "alpine" + commands: + - echo 'Demo' diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml new file mode 100644 index 0000000..7197cd1 --- /dev/null +++ b/.woodpecker/test.yml @@ -0,0 +1,25 @@ +--- +when: + - event: [pull_request, tag] + - event: [push, manual] + branch: + - ${CI_REPO_DEFAULT_BRANCH} + +steps: + test_1: + image: "alpine" + commands: + - echo 'Test 1' + - sleep 10 + + test_2: + image: "alpine" + commands: + - echo 'Test 2' + - sleep 5 + + test_3: + image: "alpine" + commands: + - echo 'Test 3' + - sleep 5