Test new CI images with pull request
All checks were successful
ci/woodpecker/push/tests Pipeline was successful

Reviewed-on: #17
This commit is contained in:
Ivan Schaller 2022-06-23 14:23:49 +02:00
commit 2b1ad4d866
3 changed files with 11 additions and 11 deletions

View file

@ -21,7 +21,7 @@ pipeline:
when:
#branch: master
event: tag
image: cr.44net.ch/drone-plugins/test
image: cr.44net.ch/ci-plugins/tests
pull: true
commands:
- hatch build
@ -31,7 +31,7 @@ pipeline:
when:
#branch: master
event: tag
image: cr.44net.ch/drone-plugins/test
image: cr.44net.ch/ci-plugins/tests
pull: true
secrets:
- source: pypi_username

View file

@ -21,7 +21,7 @@ pipeline:
when:
branch: master
event: pull_request
image: cr.44net.ch/drone-plugins/test
image: cr.44net.ch/ci-plugins/tests
pull: true
commands:
- hatch build
@ -31,7 +31,7 @@ pipeline:
# when:
# branch: master
# event: pull_request
# image: cr.44net.ch/drone-plugins/test:1-linux-amd64
# image: cr.44net.ch/ci-plugins/tests:1-linux-amd64
# pull: true
# commands:
# - tox
@ -41,7 +41,7 @@ pipeline:
# when:
# branch: master
# event: pull_request
# image: cr.44net.ch/drone-plugins/test:1-linux-arm64
# image: cr.44net.ch/ci-plugins/tests:1-linux-arm64
# pull: true
# commands:
# - tox

View file

@ -12,35 +12,35 @@ pipeline:
# check code style - shell
test-shfmt:
image: cr.44net.ch/drone-plugins/test
image: cr.44net.ch/ci-plugins/tests
pull: true
commands:
- shfmt -d -i 4 -bn -ci -sr .
# check code style - python
test-black:
image: cr.44net.ch/drone-plugins/test
image: cr.44net.ch/ci-plugins/tests
pull: true
commands:
- black --check --diff .
# check imports - python
test-isort:
image: cr.44net.ch/drone-plugins/test
image: cr.44net.ch/ci-plugins/tests
pull: true
commands:
- isort --check-only --diff .
# check static typing - python
test-mypy:
image: cr.44net.ch/drone-plugins/test
image: cr.44net.ch/ci-plugins/tests
pull: true
commands:
- mypy --install-types --non-interactive mangadlp/
# test code and generate coverage report
test-coverage-pytest:
image: cr.44net.ch/drone-plugins/test
image: cr.44net.ch/ci-plugins/tests
pull: true
commands:
- pip install -r requirements.txt
@ -52,7 +52,7 @@ pipeline:
sonarqube-analysis:
when:
branch: master
image: cr.44net.ch/drone-plugins/sonarqube
image: cr.44net.ch/ci-plugins/sonar-scanner
pull: true
settings:
sonar_host: https://sonarqube.44net.ch