python-docs-fr/.woodpecker.yml
Julien Palard 0798ce74be
In case it's already here.
Which happen when running on the branch. But when running from a PR
the branch does not exists.
2023-04-14 13:59:11 +02:00

14 lines
373 B
YAML

---
pipeline:
test:
image: python
commands:
- apt-get update
- apt-get install -y hunspell hunspell-fr-comprehensive
- python3 -m pip install -r requirements.txt
- BRANCH="$(grep ^BRANCH Makefile | awk '{print $3}')"
- git fetch origin --no-tags +refs/heads/$BRANCH
- git branch $BRANCH origin/$BRANCH ||:
- make verifs