Skip to content

Commit

Permalink
update testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Mar 19, 2024
1 parent 40c5e3d commit 22d0b96
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 8 deletions.
36 changes: 34 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,51 @@ jobs:

strategy:
matrix:
DJANGO_VERSION: [ '2.2.*', '3.0.*', '3.1.*', '3.2.*', '4.0.*', '4.1.*']
python-version: ['3.7', '3.8', '3.9', '3.10']
DJANGO_VERSION: [ '2.2.*', '3.0.*', '3.1.*', '3.2.*', '4.0.*', '4.1.*', '4.2.*', '5.0.*']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
exclude:
- DJANGO_VERSION: '5.0.*'
python-version: '3.9'
- DJANGO_VERSION: '5.0.*'
python-version: '3.8'
- DJANGO_VERSION: '5.0.*'
python-version: '3.7'

- DJANGO_VERSION: '4.1.*'
python-version: '3.12'
- DJANGO_VERSION: '4.1.*'
python-version: '3.7'

- DJANGO_VERSION: '4.0.*'
python-version: '3.12'
- DJANGO_VERSION: '4.0.*'
python-version: '3.11'
- DJANGO_VERSION: '4.0.*'
python-version: '3.10'
- DJANGO_VERSION: '4.0.*'
python-version: '3.7'

- DJANGO_VERSION: '3.1.*'
python-version: '3.12'
- DJANGO_VERSION: '3.1.*'
python-version: '3.11'
- DJANGO_VERSION: '3.1.*'
python-version: '3.10'

- DJANGO_VERSION: '3.0.*'
python-version: '3.12'
- DJANGO_VERSION: '3.0.*'
python-version: '3.11'
- DJANGO_VERSION: '3.0.*'
python-version: '3.10'

- DJANGO_VERSION: '2.2.*'
python-version: '3.12'
- DJANGO_VERSION: '2.2.*'
python-version: '3.11'
- DJANGO_VERSION: '2.2.*'
python-version: '3.10'

fail-fast: false

services:
Expand Down
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ History
* add PayuProvider.refund
* update payment.captured_amount only when order is completed
* subtract refunds from payment.captured_amount rather than from payment.total
* tests for Django 2.2-5.0 Python 3.7-3.12

1.2.4 (2022-03-17)
++++++++++++++++++
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
setuptools
-e git+https://github.com/PetrDlouhy/django-payments@payu_changes#egg=django-payments # change to regular django-payments after it has all changes pulled
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
import re
import sys

try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from setuptools import setup


def get_version(*file_paths):
Expand Down
2 changes: 0 additions & 2 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@

USE_I18N = True

USE_L10N = True

USE_TZ = True

# Static files (CSS, JavaScript, Images)
Expand Down

0 comments on commit 22d0b96

Please sign in to comment.