Skip to content

Automatic Greeting Feature #80

Automatic Greeting Feature

Automatic Greeting Feature #80

name: Intelligence Service QA
on:
pull_request:
paths:
- "server/intelligence-service/**"
push:
paths:
- "server/intelligence-service/**"
branches: [develop]
jobs:
lint:
name: Code Quality Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-path: .venv
installer-parallel: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install Python dependencies
working-directory: server/intelligence-service
run: poetry lock --no-update && poetry install --no-interaction --no-root
- name: Check formatting with Black
working-directory: ./server/intelligence-service
run: poetry run black --check .