File tree Expand file tree Collapse file tree 2 files changed +60
-42
lines changed Expand file tree Collapse file tree 2 files changed +60
-42
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-20.04 # focal equivalent
8
+
9
+ strategy :
10
+ matrix :
11
+ include :
12
+ - python-version : " 2.7"
13
+ toxenv : py27-core
14
+ - python-version : " 3.9"
15
+ toxenv : py39-core
16
+ - python-version : " 3.10"
17
+ toxenv : py310-core
18
+ - python-version : " 3.11"
19
+ toxenv : py311-core
20
+ - python-version : " 3.12"
21
+ toxenv : py312-core
22
+ - python-version : " 3.13"
23
+ toxenv : py313-core
24
+ - python-version : " 2.7"
25
+ toxenv : py27-django111
26
+ - python-version : " 3.9"
27
+ toxenv : py39-django32
28
+ - python-version : " 3.10"
29
+ toxenv : py310-django42
30
+ - python-version : " 3.11"
31
+ toxenv : py311-django42
32
+ - python-version : " 3.12"
33
+ toxenv : py312-django50
34
+ - python-version : " 3.13"
35
+ toxenv : py313-django51
36
+
37
+ steps :
38
+ - uses : actions/checkout@v4
39
+
40
+ - name : Set up Python ${{ matrix.python-version }}
41
+ uses : actions/setup-python@v5
42
+ with :
43
+ python-version : ${{ matrix.python-version }}
44
+
45
+ - name : Install dependencies
46
+ run : |
47
+ python -m pip install --upgrade pip
48
+ pip install tox pytest
49
+
50
+ - name : Set CLOUDINARY_URL
51
+ run : |
52
+ export CLOUDINARY_URL=$(bash tools/get_test_cloud.sh)
53
+ echo "cloud_name: $(echo $CLOUDINARY_URL | cut -d'@' -f2)"
54
+ echo "CLOUDINARY_URL=$CLOUDINARY_URL" >> $GITHUB_ENV
55
+
56
+ - name : Run tests
57
+ env :
58
+ TOXENV : ${{ matrix.toxenv }}
59
+ PYTHONPATH : ${{ github.workspace }}
60
+ run : tox -e $TOXENV
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments