Skip to content

fix: batch-load waffle flags to avoid per-flag Redis N+1 #53

fix: batch-load waffle flags to avoid per-flag Redis N+1

fix: batch-load waffle flags to avoid per-flag Redis N+1 #53

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
make venv
- name: Lint
run: |
make lint
build:
needs: lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- python-version: "3.10"
tox-env: "py310-django42-tests,py310-django52-tests"
- python-version: "3.11"
tox-env: "py311-django42-tests,py311-django52-tests"
- python-version: "3.12"
tox-env: "py312-django42-tests,py312-django52-tests,py312-django60-tests"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
make venv
- name: Test
run: |
.venv/bin/tox -e ${{ matrix.tox-env }}
- name: Build
run: |
make build