sporestack-python/.woodpecker.yml

56 lines
1.3 KiB
YAML
Raw Normal View History

2022-02-10 21:47:57 +00:00
pipeline:
2022-11-02 00:00:00 +00:00
pre-commit:
group: pre-commit-test
2022-11-02 00:04:13 +00:00
image: python:3.11
2022-11-02 00:00:00 +00:00
commands:
- pip install pre-commit==2.20.0
- pre-commit run --all-files
2022-02-10 21:47:57 +00:00
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
2022-11-02 00:00:00 +00:00
python-3.8:
group: test
image: python:3.8-slim
commands:
- pip install pipenv==2022.10.25
- pipenv install --dev --deploy
- pipenv run almake test
- pipenv run almake build-dist
- sha256sum dist/*
2022-02-10 21:47:57 +00:00
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-02 00:00:00 +00:00
- pip install pipenv==2022.10.25
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-02 00:00:00 +00:00
- pip install pipenv==2022.10.25
- pipenv install --dev --deploy
- pipenv run almake test
- pipenv run almake build-dist
- sha256sum dist/*
python-3.11:
group: test
image: python:3.11-alpine
commands:
- pip install pipenv==2022.10.25
2022-02-10 21:47:57 +00:00
- pipenv install --dev --deploy
- pipenv run almake test
- pipenv run almake build-dist
- sha256sum dist/*