Remove Python 3.6

This commit is contained in:
Kien Dang 2023-05-26 23:53:33 +08:00
parent 5804654f65
commit 21def9ee82
3 changed files with 7 additions and 14 deletions

View File

@ -20,7 +20,7 @@ jobs:
pip install wheel
python setup.py sdist bdist_wheel
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@v1.1.0
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}

View File

@ -8,29 +8,23 @@ jobs:
strategy:
max-parallel: 4
matrix:
django: ["2.2", "3.0", "3.1", "3.2", "4.0"]
django: ["2.2", "3.0", "3.1", "3.2", "4.0", "4.1"]
python-version: ["3.8", "3.9"]
include:
- django: "2.2"
python-version: "3.6"
- django: "2.2"
python-version: "3.7"
- django: "3.0"
python-version: "3.6"
- django: "3.0"
python-version: "3.7"
- django: "3.1"
python-version: "3.6"
- django: "3.1"
python-version: "3.7"
- django: "3.2"
python-version: "3.6"
- django: "3.2"
python-version: "3.7"
- django: "3.2"
python-version: "3.10"
- django: "4.0"
python-version: "3.10"
- django: "4.1"
python-version: "3.10"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}

View File

@ -1,14 +1,13 @@
[tox]
envlist =
py{36,37,38,39}-django22,
py{36,37,38,39}-django{30,31},
py{36,37,38,39,310}-django32,
py{37,38,39}-django22,
py{37,38,39}-django{30,31},
py{37,38,39,310}-django32,
py{38,39,310}-django{40,master},
black,flake8
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39