File tree Expand file tree Collapse file tree 5 files changed +11
-65
lines changed Expand file tree Collapse file tree 5 files changed +11
-65
lines changed Original file line number Diff line number Diff line change 13
13
14
14
15
15
jobs :
16
- macos :
17
- runs-on : macos-latest
18
- strategy :
19
- matrix :
20
- python-version : ['3.7', '3.8', '3.9', '3.10']
21
- steps :
22
- - uses : actions/checkout@v2
23
- - uses : actions/setup-python@v2
24
- with :
25
- python-version : ${{ matrix.python-version }}
26
- - name : Install Rust toolchain
27
- uses : actions-rs/toolchain@v1
28
- with :
29
- toolchain : stable
30
- profile : minimal
31
- default : true
32
- - name : Install Python packages
33
- run : |
34
- pip install mypy pytest flake8 maturin
35
- - name : Build ulist
36
- run : |
37
- maturin build --out dist -m ulist/Cargo.toml
38
- - name : Install ulist
39
- run : |
40
- pip install ulist --no-index --find-links dist --force-reinstall
41
- - name : Python UnitTest
42
- run : |
43
- cd tests
44
- sh run.sh
45
-
46
-
47
- linux :
48
- runs-on : ubuntu-latest
16
+ tests :
49
17
strategy :
50
18
matrix :
51
19
python-version : ['3.7', '3.8', '3.9', '3.10']
20
+ os : [ubuntu-latest, macos-latest]
21
+ runs-on : ${{ matrix.os }}
52
22
steps :
53
23
- uses : actions/checkout@v2
54
24
- uses : actions/setup-python@v2
Original file line number Diff line number Diff line change 10
10
11
11
12
12
jobs :
13
- macos :
14
- runs-on : macos-latest
13
+ maturin :
15
14
strategy :
16
15
matrix :
17
16
python-version : ['3.7', '3.8', '3.9', '3.10']
17
+ os : [ubuntu-latest, macos-latest]
18
+ runs-on : ${{ matrix.os }}
18
19
steps :
19
20
- uses : actions/checkout@v2
20
21
- uses : actions/setup-python@v2
32
33
- name : Publish ulist
33
34
env :
34
35
PYPI_PW : ${{ secrets.PYPI_PW }}
36
+ PYTHON_VER : python${{ matrix.python-version }}
35
37
run : |
36
- maturin publish -m ulist/Cargo.toml -u tushushu -p $PYPI_PW
37
-
38
-
39
- linux :
40
- runs-on : ubuntu-latest
41
- strategy :
42
- matrix :
43
- python-version : ['3.7', '3.8', '3.9', '3.10']
44
- steps :
45
- - uses : actions/checkout@v2
46
- - uses : actions/setup-python@v2
47
- with :
48
- python-version : ${{ matrix.python-version }}
49
- - name : Install Rust toolchain
50
- uses : actions-rs/toolchain@v1
51
- with :
52
- toolchain : stable
53
- profile : minimal
54
- default : true
55
- - name : Install Python packages
56
- run : |
57
- pip install maturin
58
- - name : Publish ulist
59
- env :
60
- PYPI_PW : ${{ secrets.PYPI_PW }}
61
- run : |
62
- maturin publish -m ulist/Cargo.toml -u tushushu -p $PYPI_PW
38
+ maturin publish -m ulist/Cargo.toml -u tushushu -p $PYPI_PW -i $PYTHON_VER
Original file line number Diff line number Diff line change 4
4
types : [published]
5
5
6
6
jobs :
7
- docs :
7
+ sphinx :
8
8
runs-on : macos-latest
9
9
strategy :
10
10
matrix :
Original file line number Diff line number Diff line change 22
22
author = 'tushushu'
23
23
24
24
# The full version, including alpha/beta/rc tags
25
- release = '0.5.0 '
25
+ release = '0.5.1 '
26
26
27
27
28
28
# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " ulist"
3
- version = " 0.5.0 "
3
+ version = " 0.5.1 "
4
4
authors = [" tushushu" ]
5
5
edition = " 2018"
6
6
You can’t perform that action at this time.
0 commit comments