ci: debug
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
cătălin 2023-04-13 22:27:53 +02:00
commit a9c089f900
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2

View file

@ -31,7 +31,33 @@ steps:
- .venv
- .cache/.pre-commit
- name: install_deps
- name: install_deps_310
pull: true
image: git.roboces.dev/catalin/pdm:latest-310
commands:
- pdm install -G :all
depends_on:
- restore_cache
- name: lints_310
pull: true
image: git.roboces.dev/catalin/pdm:latest-310
commands:
- pdm run pre-commit run --all-files --color always
depends_on:
- install_deps_310
- name: tests_310
pull: true
image: git.roboces.dev/catalin/pdm:latest-310
commands:
- pdm run pytest --cov=halig -vv tests --report-log reportlog.json
- pdm run coverage html
- pdm run coverage xml
depends_on:
- install_deps_310
- name: install_deps_311
pull: true
image: git.roboces.dev/catalin/pdm:latest-311
commands:
@ -39,15 +65,15 @@ steps:
depends_on:
- restore_cache
- name: lints 311
- name: lints_311
pull: true
image: git.roboces.dev/catalin/pdm:latest-311
commands:
- pdm run pre-commit run --all-files --color always
depends_on:
- install_deps
- install_deps_311
- name: tests 311
- name: tests_311
pull: true
image: git.roboces.dev/catalin/pdm:latest-311
commands:
@ -55,7 +81,7 @@ steps:
- pdm run coverage html
- pdm run coverage xml
depends_on:
- install_deps
- install_deps_311
- name: deploy
pull: true
@ -67,8 +93,10 @@ steps:
ref:
- refs/tags/v*
depends_on:
- lint
- tests
- lints_310
- tests_310
- lints_311
- tests_311
- name: rebuild cache
image: meltwater/drone-cache
@ -92,5 +120,7 @@ steps:
- failure
- success
depends_on:
- lint
- tests
- lints_310
- tests_310
- lints_311
- tests_311