fix: fix: rewrite smoke-init.sh for mock Forgejo + restore pipeline (#143)
This commit is contained in:
parent
39e4b73ea0
commit
b9314694cd
2 changed files with 59 additions and 174 deletions
17
.woodpecker/smoke-init.yml
Normal file
17
.woodpecker/smoke-init.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
when:
|
||||
- event: pull_request
|
||||
path:
|
||||
- "bin/disinto"
|
||||
- "lib/load-project.sh"
|
||||
- "lib/env.sh"
|
||||
- "tests/**"
|
||||
- ".woodpecker/smoke-init.yml"
|
||||
|
||||
steps:
|
||||
- name: smoke-init
|
||||
image: python:3-alpine
|
||||
commands:
|
||||
- apk add --no-cache bash curl jq git coreutils
|
||||
- python3 tests/mock-forgejo.py &
|
||||
- sleep 2
|
||||
- bash tests/smoke-init.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue