-
Notifications
You must be signed in to change notification settings - Fork 138
56 lines (51 loc) · 1.44 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Cloudinary Python SDK Test
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- python-version: 2.7
toxenv: py27-core
- python-version: 3.9
toxenv: py39-core
- python-version: 3.10
toxenv: py310-core
- python-version: 3.11
toxenv: py311-core
- python-version: 3.12
toxenv: py312-core
- python-version: 3.13
toxenv: py313-core
- python-version: 2.7
toxenv: py27-django111
- python-version: 3.9
toxenv: py39-django32
- python-version: 3.10
toxenv: py310-django42
- python-version: 3.11
toxenv: py311-django42
- python-version: 3.12
toxenv: py312-django50
- python-version: 3.13
toxenv: py313-django51
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install tox pytest mock
- name: Run tests with tox
env:
TOXENV: ${{ matrix.toxenv }}
DJANGO_SETTINGS_MODULE: django_tests.settings
run: tox -e $TOXENV