Skip to content

remove sse (#83)

remove sse (#83) #282

Workflow file for this run

name: Pull Request
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
test:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
name: Unit Tests and Linting
env:
FLAGSMITH_API_URL: https://api.flagsmith.com/api/v1
FLAGSMITH_API_TOKEN: test_token
ENVIRONMENT_API_KEYS: placeholder_key1
strategy:
max-parallel: 4
matrix:
python-version: ["3.12"]
steps:
- name: Cloning repo
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip download
uses: syphar/restore-pip-download-cache@v1
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: Check black formatting
run: black --check .
- name: Check flake8 linting
run: flake8 --config=.flake8 .
- name: Check import order
run: isort --check .
- name: Run Tests
run: pytest -p no:warnings