Add generic Python jobs, and mypy test
Add a generic python_job that checks out the project, runs a command that may fail, and upload results if it generates them. This can be used for formatting and linting checks later. Use the python_job for a mypy test that is allowed to fail for now.
This commit is contained in:
Родитель
e95916a816
Коммит
ad780db645
|
@ -389,6 +389,15 @@ workflows:
|
|||
tags:
|
||||
only: /.*/
|
||||
|
||||
- python_job:
|
||||
name: mypy type check
|
||||
command: mypy --no-incremental --junit-xml job-results/mypy.xml .
|
||||
has_results: true
|
||||
allow_fail: true
|
||||
filters:
|
||||
tags:
|
||||
only: /.*/
|
||||
|
||||
- python_test_postgres:
|
||||
filters:
|
||||
tags:
|
||||
|
|
Загрузка…
Ссылка в новой задаче