sporestack-python/.woodpecker.yml

42 lines
1.1 KiB
YAML

pipeline:
python-3.7:
group: test
image: python:3.7
commands:
- pip install pipenv==2022.1.8
- 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
image: python:3.9
commands:
- pip install pipenv==2022.1.8 pre-commit==2.17.0
- pre-commit run --all-files
- pipenv install --dev --deploy
- pipenv run almake test
- pipenv run almake build-dist
- sha256sum dist/*
python-3.10:
group: test
image: python:3.10
commands:
- pip install pipenv==2022.1.8 pre-commit==2.17.0
- pre-commit run --all-files
- pipenv install --dev --deploy
- pipenv run almake test
- pipenv run almake build-dist
- sha256sum dist/*