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