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:
John Whitlock 2022-04-22 10:23:40 -05:00
Родитель e95916a816
Коммит ad780db645
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 082C735D154FB750
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -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: