sporestack-python/.woodpecker.yml

42 lines
1.1 KiB
YAML
Raw Normal View History

2022-02-10 21:47:57 +00:00
pipeline:
python-3.7:
group: test
2022-04-22 01:10:34 +00:00
image: python:3.7-alpine
2022-02-10 21:47:57 +00:00
commands:
2022-11-01 23:25:24 +00:00
- pip install pipenv==2022.10.25
2022-02-10 21:47:57 +00:00
- pipenv install --dev --deploy
- pipenv run almake test-pytest # We only test with pytest on 3.7
# More than three jobs seems to cause issues with Woodpecker?
# python-3.8:
# group: test
# image: python:3.8-slim
# commands:
# - pip install pipenv==2021.11.23
# - pipenv install --dev --deploy
# - pipenv run almake test
# - pipenv run almake build-dist
# - sha256sum dist/*
python-3.9:
group: test
2022-04-22 01:10:34 +00:00
image: python:3.9-alpine
2022-02-10 21:47:57 +00:00
commands:
2022-11-01 23:25:24 +00:00
- pip install pipenv==2022.10.25 pre-commit==2.22.0
- pre-commit run --all-files
2022-02-10 21:47:57 +00:00
- pipenv install --dev --deploy
- pipenv run almake test
- pipenv run almake build-dist
- sha256sum dist/*
python-3.10:
group: test
2022-04-22 01:10:34 +00:00
image: python:3.10-alpine
2022-02-10 21:47:57 +00:00
commands:
2022-11-01 23:25:24 +00:00
- pip install pipenv==2022.10.25 pre-commit==2.22.0
- pre-commit run --all-files
2022-02-10 21:47:57 +00:00
- pipenv install --dev --deploy
- pipenv run almake test
- pipenv run almake build-dist
- sha256sum dist/*