ci: add pytest job
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
cătălin 2022-08-27 16:36:39 +02:00
commit 435946f769
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2

View file

@ -36,7 +36,7 @@ steps:
image: git.roboces.dev/catalin/poetry:beta
commands:
- poetry config virtualenvs.in-project 1
- poetry install --with linters
- poetry install --with linters,test
- name: lint
pull: true
@ -44,6 +44,12 @@ steps:
commands:
- .venv/bin/pre-commit run --all-files --color always
- name: tests
pull: true
image: git.roboces.dev/catalin/poetry:beta
commands:
- .venv/bin/pytest
- name: deploy
pull: true
image: git.roboces.dev/catalin/poetry:beta