Skip to content

feat: OpenTelemetry support #80

feat: OpenTelemetry support

feat: OpenTelemetry support #80

Workflow file for this run

name: Python Checks and Unit Tests
on:
pull_request:
jobs:
lint-test:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
matrix:
python-version: ["3.11", "3.12"]
services:
postgres:
image: postgres:15.5-alpine
env:
POSTGRES_PASSWORD: password
POSTGRES_DB: flagsmith
ports: ['5432:5432']
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: pipx install poetry
- name: Install Dependencies
env:
opts: --with dev
run: make install-packages
- name: Check for missing migrations
env:
opts: --no-input --dry-run --check
run: make django-make-migrations
- name: Check for new typing errors
run: make typecheck
- name: Run Tests
run: make test