fix: rewrite smoke-init.sh for mock Forgejo + restore pipeline (#143)
This commit is contained in:
parent
7267f68a6d
commit
44484588d0
3 changed files with 68 additions and 178 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