diff --git a/.woodpecker/smoke-init.yml b/.woodpecker/smoke-init.yml new file mode 100644 index 0000000..d9c7104 --- /dev/null +++ b/.woodpecker/smoke-init.yml @@ -0,0 +1,16 @@ +steps: + - name: smoke-init + image: python:3-alpine + when: + event: pull_request + path: + - "bin/disinto" + - "lib/load-project.sh" + - "lib/env.sh" + - "tests/**" + - ".woodpecker/smoke-init.yml" + commands: + - apk add --no-cache bash curl jq git coreutils + - python3 tests/mock-forgejo.py & + - sleep 2 + - bash tests/smoke-init.sh