File tree Expand file tree Collapse file tree 8 files changed +151
-7
lines changed Expand file tree Collapse file tree 8 files changed +151
-7
lines changed Original file line number Diff line number Diff line change
1
+ name : Continuous Integration
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' *'
7
+ pull_request :
8
+ branches :
9
+ - ' *'
10
+ schedule :
11
+ - cron : ' 59 23 * * *'
12
+ workflow_dispatch :
13
+ inputs :
14
+ version :
15
+ description : Manual Unittest Run
16
+ default : test
17
+ required : false
18
+
19
+ jobs :
20
+ unittests :
21
+ env :
22
+ RUN_TEST : pytest spglm --cov spglm -v -n auto -r a --cov-report xml --color yes --cov-append --cov-report term-missing
23
+ name : ${{ matrix.os }}, ${{ matrix.environment-file }}
24
+ runs-on : ${{ matrix.os }}
25
+ defaults :
26
+ run :
27
+ shell : bash -l {0}
28
+ timeout-minutes : 60
29
+ strategy :
30
+ matrix :
31
+ os : [ubuntu-latest]
32
+ environment-file :
33
+ - ci/39-MIN.yaml
34
+ - ci/310.yaml
35
+ - ci/311.yaml
36
+ - ci/311-DEV.yaml
37
+ include :
38
+ - environment-file : ci/311.yaml
39
+ os : macos-latest
40
+ - environment-file : ci/311.yaml
41
+ os : windows-latest
42
+ fail-fast : false
43
+
44
+ steps :
45
+ - name : checkout repo
46
+ uses : actions/checkout@v4
47
+
48
+ - name : setup micromamba
49
+ uses : mamba-org/setup-micromamba@v1
50
+ with :
51
+ environment-file : ${{ matrix.environment-file }}
52
+ micromamba-version : ' latest'
53
+
54
+ - name : install bleeding edge libpysal & spreg (Ubuntu / latest Python)
55
+ shell : bash -l {0}
56
+ run : |
57
+ pip install git+https://github.com/pysal/libpysal.git@main
58
+ pip install git+https://github.com/pysal/spreg.git@main
59
+ if : matrix.os == 'ubuntu-latest' && contains(matrix.environment-file, 'DEV')
60
+
61
+ - name : environment info
62
+ shell : bash -l {0}
63
+ run : |
64
+ micromamba info
65
+ micromamba list
66
+
67
+ - name : run tests
68
+ run : ${{ env.RUN_TEST }}
69
+
70
+ - name : codecov
71
+ uses : codecov/codecov-action@v3
72
+ with :
73
+ token : ${{ secrets.CODECOV_TOKEN }}
74
+ file : ./coverage.xml
75
+ name : spglm-codecov
Original file line number Diff line number Diff line change 1
1
** G** eneralized ** L** inear ** M** odeling
2
2
=======================================
3
3
4
- [ ![ Build Status ] ( https://travis-ci.org /pysal/spglm.svg?branch=master )] ( https://travis-ci.org/pysal/spglm )
4
+ [ ![ Continuous Integration ] ( https://github.com /pysal/spglm/actions/workflows/testing.yml/badge.svg )]
5
5
[ ![ Documentation Status] ( https://readthedocs.org/projects/spglm/badge/?version=latest )] ( https://spglm.readthedocs.io/en/latest/?badge=latest )
6
6
[ ![ PyPI version] ( https://badge.fury.io/py/spglm.svg )] ( https://badge.fury.io/py/spglm )
7
7
Original file line number Diff line number Diff line change
1
+ name : test
2
+ channels :
3
+ - conda-forge
4
+ dependencies :
5
+ - python=3.10
6
+ # required
7
+ - git
8
+ - libpysal
9
+ - numpy
10
+ - pip
11
+ - scipy
12
+ - spreg
13
+ # testing
14
+ - codecov
15
+ - pytest
16
+ - pytest-cov
17
+ - pytest-xdist
Original file line number Diff line number Diff line change
1
+ name : test
2
+ channels :
3
+ - conda-forge
4
+ dependencies :
5
+ - python=3.11
6
+ # required
7
+ - git
8
+ - pip
9
+ # testing
10
+ - codecov
11
+ - pytest
12
+ - pytest-cov
13
+ - pytest-xdist
Original file line number Diff line number Diff line change
1
+ name : test
2
+ channels :
3
+ - conda-forge
4
+ dependencies :
5
+ - python=3.11
6
+ # required
7
+ - git
8
+ - libpysal
9
+ - numpy
10
+ - pip
11
+ - scipy
12
+ - spreg
13
+ # testing
14
+ - codecov
15
+ - pytest
16
+ - pytest-cov
17
+ - pytest-xdist
18
+ # docs (this env only)
19
+ - nbsphinx
20
+ - numpydoc
21
+ - sphinx>=1.4.3
22
+ - sphinxcontrib-bibtex
23
+ - sphinx_bootstrap_theme
Original file line number Diff line number Diff line change
1
+ name : test
2
+ channels :
3
+ - conda-forge
4
+ dependencies :
5
+ - python=3.9
6
+ # required
7
+ - git
8
+ - libpysal=4.5
9
+ - numpy=1.23
10
+ - pip
11
+ - scipy=1.8
12
+ - spreg=1.2
13
+ # testing
14
+ - codecov
15
+ - pytest
16
+ - pytest-cov
17
+ - pytest-xdist
Original file line number Diff line number Diff line change 1
- scipy >= 0.11
2
- numpy >= 1.3
3
- libpysal >= 4.0.0
4
- spreg >= 1.0.4
1
+ scipy >= 1.8
2
+ numpy >= 1.23
3
+ libpysal >= 4.5
4
+ spreg >= 1.2
Original file line number Diff line number Diff line change @@ -50,8 +50,7 @@ def setup_package():
50
50
'Topic :: Scientific/Engineering :: GIS' ,
51
51
'License :: OSI Approved :: BSD License' ,
52
52
'Programming Language :: Python' ,
53
- 'Programming Language :: Python :: 3.6' ,
54
- 'Programming Language :: Python :: 3.7'
53
+ 'Programming Language :: Python :: 3' ,
55
54
],
56
55
license = '3-Clause BSD' ,
57
56
packages = find_packages (),
You can’t perform that action at this time.
0 commit comments