mirror of
https://codeberg.org/Codeberg-CI/examples.git
synced 2025-09-12 13:26:07 -04:00
Add a Python example (#11)
I added the Python example based on https://codeberg.org/sail.black/serial-sphinx Co-authored-by: julian <julian.kleber@sail.black> Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/11 Co-authored-by: Julian Manuel Kleber <cap_jmk@noreply.codeberg.org> Co-committed-by: Julian Manuel Kleber <cap_jmk@noreply.codeberg.org>
This commit is contained in:
parent
5031ce2d6e
commit
87fc5bac1e
21
Python/.woodpecker.yml
Normal file
21
Python/.woodpecker.yml
Normal file
@ -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
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user