Skip to content

release 3.2.2

release 3.2.2 #259

Workflow file for this run

on:
pull_request:
push:
branches:
- stable/3.2.x
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Run lint
run: |
tox -e lint
tests:
strategy:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
django-version:
- '3.2.21'
tidb-version:
- 'v7.1.1'
- 'v6.5.3'
- 'v5.4.3'
- 'v4.0.15'
name: py${{ matrix.python-version }}_tidb${{ matrix.tidb-version }}_django${{ matrix.django-version }}
runs-on: ubuntu-latest
services:
tidb:
image: wangdi4zm/tind:${{ matrix.tidb-version }}-standalone
ports:
- 4000:4000
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
sudo apt-get update
sudo apt-get install -y libmemcached-dev zlib1g-dev
- name: Run tests
run: tox
env:
DJANGO_VERSION: ${{ matrix.django-version }}