connectors/bugzilla/ci_workflow.yaml (22 lines of code) (raw):
build-job-bugzilla:
docker:
- image: python:3.8
steps:
- checkout
- compare-branch:
pattern: ^connectors/bugzilla/
- run:
name: Build
command: |
python3.8 -m venv venv/
venv/bin/pip install -r requirements.txt
venv/bin/pip install -r connectors/bugzilla/requirements.txt
- run:
name: isort
command: venv/bin/isort --check connectors/bugzilla/
- run:
name: Mypy
command: venv/bin/mypy --ignore-missing-imports connectors/bugzilla/
- run:
name: Test connector code
command: venv/bin/pytest --black --flake8 connectors/bugzilla/tests/