File tree Expand file tree Collapse file tree 3 files changed +28
-14
lines changed Expand file tree Collapse file tree 3 files changed +28
-14
lines changed Original file line number Diff line number Diff line change 8
8
- main
9
9
10
10
jobs :
11
- build :
12
- runs-on : ubuntu-latest
11
+ test :
12
+ name : test with ${{ matrix.py }} on ${{ matrix.os }}
13
+ runs-on : ${{ matrix.os }}
13
14
strategy :
14
- matrix :
15
- python : [3.9]
15
+ fail-fast : false
16
+ matrix :
17
+ py :
18
+ - " 3.10"
19
+ os :
20
+ - ubuntu-latest
21
+ - macos-latest
22
+ - windows-latest
16
23
steps :
17
24
- uses : actions/checkout@v4
18
- - name : Setup Python
25
+ with :
26
+ fetch-depth : 0
27
+ - name : Setup python for test ${{ matrix.py }}
19
28
uses : actions/setup-python@v4
20
29
with :
21
- python-version : ${{ matrix.python }}
22
- - name : Install Tox
23
- run : pip install tox
24
- - name : Run Tox
25
- # Run tox using the version of Python in `PATH`
26
- run : tox -e py
30
+ python-version : ${{ matrix.py }}
31
+ - name : Install tox
32
+ run : python -m pip install tox-gh>=1.2
33
+ - name : Setup test suite
34
+ run : tox -vv --notest
35
+ - name : Run test suite
36
+ run : tox --skip-pkg-install
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ dependencies = [
17
17
" sympy>=1.9" ,
18
18
" scipy>=1.11" ,
19
19
]
20
- requires-python = " >=3.9 "
20
+ requires-python = " >=3.10 "
21
21
# keywords = ["one", "two"]
22
22
# license = {text = "BSD-3-Clause"}
23
23
classifiers = [
Original file line number Diff line number Diff line change 1
1
[tox]
2
- envlist = py{39 }
2
+ envlist = py{310 }
3
3
minversion = 4.0
4
4
isolated_build = true
5
5
6
6
[testenv]
7
7
deps =
8
8
pytest
9
9
-r requirements.txt
10
- commands = pytest tests
10
+ commands = pytest tests
11
+
12
+ [gh]
13
+ python =
14
+ 3.10 = py310
You can’t perform that action at this time.
0 commit comments