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-04-22 01:45:50 +00:00
|
|
|
- pip install pipenv==2022.4.20
|
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-04-22 01:45:50 +00:00
|
|
|
- pip install pipenv==2022.4.20 pre-commit==2.17.0
|
2022-04-01 01:08:12 +00:00
|
|
|
- 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-04-22 01:45:50 +00:00
|
|
|
- pip install pipenv==2022.4.20 pre-commit==2.17.0
|
2022-04-01 01:08:12 +00:00
|
|
|
- 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/*
|