manga-dlp/.woodpecker/test_release.yml

59 lines
1.1 KiB
YAML
Raw Normal View History

2022-06-25 14:48:23 +02:00
################
# test release #
################
2022-06-22 19:27:03 +02:00
# branch: master
# event: pull_request
depends_on:
- tests
clone:
git:
when:
branch: master
event: pull_request
image: woodpeckerci/plugin-git
pipeline:
2022-06-25 14:48:23 +02:00
# build wheel and dist
test-build-pypi:
2022-06-22 19:27:03 +02:00
when:
branch: master
event: pull_request
2022-06-25 14:48:23 +02:00
image: cr.44net.ch/ci-plugins/tests
2022-06-22 19:27:03 +02:00
pull: true
commands:
2022-06-25 14:48:23 +02:00
- hatch build
2022-06-22 19:27:03 +02:00
2022-06-25 14:48:23 +02:00
# create release-notes
2022-06-22 19:27:03 +02:00
test-create-release-notes:
when:
branch: master
event: pull_request
image: cr.44net.ch/baseimages/debian-base
pull: true
commands:
2022-06-22 22:31:45 +02:00
- bash get_release_notes.sh 2.1.8
2022-06-22 19:27:03 +02:00
- cat RELEASENOTES.md
2022-06-25 14:48:23 +02:00
# test code with different python versions - amd64
test-tox-amd64:
when:
branch: master
event: pull_request
image: cr.44net.ch/ci-plugins/multipy:1-linux-amd64
pull: true
commands:
- tox
# test code with different python versions - arm64
test-tox-arm64:
when:
branch: master
event: pull_request
image: cr.44net.ch/ci-plugins/multipy:1-linux-arm64
pull: true
commands:
- tox