🐛 inject bptl app id if business process is manually started #2249
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code quality checks | |
# Run this workflow every time a new commit pushed to your repository | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
paths: | |
- 'backend/**.py' | |
pull_request: | |
paths: | |
- 'backend/**.py' | |
workflow_dispatch: | |
jobs: | |
isort: | |
name: Check import sorting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: pip install -r backend/requirements/ci.txt | |
- name: Run isort | |
run: isort --check-only --diff backend/src backend/doc | |
black: | |
name: Check code formatting with black | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: pip install -r backend/requirements/ci.txt | |
- name: Run black | |
run: black --check backend/src backend/doc |