diff --git a/Python/.woodpecker.yml b/Python/.woodpecker.yml new file mode 100644 index 0000000..bd1292f --- /dev/null +++ b/Python/.woodpecker.yml @@ -0,0 +1,21 @@ +pipeline: + build: + image: python:${TAG}-buster + when: + event: pull_request + branch: main + + commands: + - ls + - python -m venv venv + - /bin/bash -c "source venv/bin/activate" + - python -m pip install --upgrade pip + - pip install -r requirements.txt + - pytest tests/ + +matrix: + TAG: + - 3.7 + - 3.9 + - 3.8 + - 3.10 diff --git a/README.md b/README.md index 2699df2..67210b4 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ Pull requests are accepted/welcome. | [Jekyll/jekyll.yml](Jekyll/jekyll.yml) | Markdown | Jekyll | CI step to build static website files and publish them to Codeberg Pages using Jekyll | | [Hugo/hugo.yml](Hugo/hugo.yml) | Markdown | Hugo | CI step to build static website files and publish them to Codeberg Pages with Hugo | | [Docker/kaniko.yml](Docker/kaniko.yml) | Dockerfile | [Kaniko][1] | Minimalistic CI pipeline with clear instructions to push a Docker image | -| [Docker/buildx.yml](Docker/buildx.yml) | Dockerfile | [buildx][2] | Build and publish Docker images for multible architectures on codeberg | - +| [Docker/buildx.yml](Docker/buildx.yml) | Dockerfile | [buildx][2] | Build and publish Docker images for multiple architectures on codeberg | +|[Python/.woodpecker.yml](Python)| Python | Python venv| Standard CI pipeline to test Python packages code on multiple Python distrubutions. For details check [serial-sphinx](https://codeberg.org/sail.black/serial-sphinx.git)| # More: https://codeberg.org/explore/repos?q=woodpecker-ci&topic=1