@@ -2,9 +2,9 @@ name: Test & Docs
2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
5
+ branches : [master]
6
6
pull_request :
7
- branches : [ master ]
7
+ branches : [master]
8
8
9
9
jobs :
10
10
tests :
@@ -24,57 +24,57 @@ jobs:
24
24
strategy :
25
25
fail-fast : false
26
26
matrix :
27
- python-version : ["3.8", " 3.12" ]
27
+ python-version : ['3.10', ' 3.12' ]
28
28
database : [postgresql]
29
29
30
30
steps :
31
- - uses : actions/checkout@v3
32
- - name : Set up Python ${{ matrix.python-version }}
33
- uses : actions/setup-python@v4
34
- with :
35
- python-version : ${{ matrix.python-version }}
36
- cache : ' pip'
37
- cache-dependency-path : ' **/pyproject.toml'
38
- - name : Install dependencies
39
- run : |
40
- sudo apt update
41
- sudo apt install libgdal-dev
42
- python -m pip install --upgrade pip
43
- make develop installjs vendors
44
- - name : run tests
45
- run : make test
46
- env :
47
- DJANGO_SETTINGS_MODULE : ' umap.tests.settings'
48
- UMAP_SETTINGS : ' umap/tests/settings.py'
31
+ - uses : actions/checkout@v3
32
+ - name : Set up Python ${{ matrix.python-version }}
33
+ uses : actions/setup-python@v4
34
+ with :
35
+ python-version : ${{ matrix.python-version }}
36
+ cache : ' pip'
37
+ cache-dependency-path : ' **/pyproject.toml'
38
+ - name : Install dependencies
39
+ run : |
40
+ sudo apt update
41
+ sudo apt install libgdal-dev
42
+ python -m pip install --upgrade pip
43
+ make develop installjs vendors
44
+ - name : run tests
45
+ run : make test
46
+ env :
47
+ DJANGO_SETTINGS_MODULE : ' umap.tests.settings'
48
+ UMAP_SETTINGS : ' umap/tests/settings.py'
49
49
lint :
50
50
runs-on : ubuntu-latest
51
51
steps :
52
- - uses : actions/checkout@v3
53
- - name : Set up Python
54
- uses : actions/setup-python@v4
55
- with :
56
- python-version : " 3.11"
57
- - name : Install dependencies
58
- run : |
59
- python3 -m pip install -e .[test,dev]
52
+ - uses : actions/checkout@v3
53
+ - name : Set up Python
54
+ uses : actions/setup-python@v4
55
+ with :
56
+ python-version : ' 3.11'
57
+ - name : Install dependencies
58
+ run : |
59
+ python3 -m pip install -e .[test,dev]
60
+
61
+ - name : Run Lint
62
+ run : make lint
60
63
61
- - name : Run Lint
62
- run : make lint
63
-
64
- - name : Run Docs
65
- run : make docs
64
+ - name : Run Docs
65
+ run : make docs
66
66
67
67
docs :
68
68
runs-on : ubuntu-latest
69
69
steps :
70
- - uses : actions/checkout@v3
71
- - name : Set up Python
72
- uses : actions/setup-python@v4
73
- with :
74
- python-version : " 3.11"
75
- - name : Install dependencies
76
- run : |
77
- python3 -m pip install -r docs/requirements.txt
70
+ - uses : actions/checkout@v3
71
+ - name : Set up Python
72
+ uses : actions/setup-python@v4
73
+ with :
74
+ python-version : ' 3.11'
75
+ - name : Install dependencies
76
+ run : |
77
+ python3 -m pip install -r docs/requirements.txt
78
78
79
- - name : Run Docs
80
- run : mkdocs build
79
+ - name : Run Docs
80
+ run : mkdocs build
0 commit comments