feat(management v2 open api): support list_subject_template_of_group … #2117
Workflow file for this run
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: Python CI Check | |
on: | |
push: | |
branches: [ master, develop ] | |
paths: ['saas/**'] | |
pull_request: | |
branches: [ master, develop ] | |
paths: ['saas/**'] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.6] | |
poetry-version: [1.1.7] | |
os: [ubuntu-20.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
cache-dependency-path: 'saas/requirements_dev.txt' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r saas/requirements_dev.txt | |
- name: Lint with flake8 | |
run: pflake8 --config=saas/pyproject.toml saas | |
- name: Lint with bandit | |
run: bandit -c saas/pyproject.toml -r saas | |
- name: Lint with mypy | |
run: mypy --config-file=saas/pyproject.toml saas | |
- name: Import Linter | |
run: cd saas && lint-imports --config=./.importlinter && cd .. | |
- name: Test with pytest | |
run: pytest -c saas/pyproject.toml saas |