File tree Expand file tree Collapse file tree 2 files changed +18
-25
lines changed Expand file tree Collapse file tree 2 files changed +18
-25
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
build :
9
9
name : Build
10
- runs-on : ubuntu-18.04
10
+ runs-on : ubuntu-latest
11
11
strategy :
12
12
matrix :
13
- python-version : [3.7, '3.10' ]
13
+ python-version : [3.9, 3.13 ]
14
14
include :
15
- - python-version : 3.9
15
+ - python-version : 3.11
16
16
test-type : lint
17
- - python-version : 3.9
17
+ - python-version : 3.11
18
18
test-type : docs
19
19
20
20
steps :
21
- - uses : actions/setup-python@v4
21
+ - uses : actions/setup-python@v5
22
22
with :
23
23
python-version : ${{ matrix.python-version }}
24
- - uses : actions/cache@v3
24
+ - uses : actions/cache@v4
25
25
with :
26
26
path : ~/.cache/pip
27
27
key : ${{ runner.os }}-py${{ matrix.python-version }}
28
- - uses : actions/checkout@v3
28
+ - uses : actions/checkout@v4
29
29
with :
30
30
fetch-depth : 3
31
31
- name : Fetch tags
32
32
run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
33
33
34
34
- run : pip install -U pip setuptools wheel
35
35
- if : matrix.test-type == 'lint'
36
- run : pip install -U --pre bokeh pandas ' numpy<1.24' && pip install -U .[dev]
36
+ run : pip install -U --pre bokeh pandas numpy && pip install -U .[dev]
37
37
- if : matrix.test-type == 'docs'
38
38
run : pip install -e .[doc] # -e provides _version.py for pdoc
39
39
- run : pip install -U .[test]
50
50
51
51
- if : ' ! matrix.test-type'
52
52
env : { BOKEH_BROWSER: none }
53
- run : time catchsegv python -m backtesting.test
53
+ run : time python -m backtesting.test
54
54
55
55
- if : matrix.test-type == 'docs'
56
- run : time catchsegv doc/build.sh
56
+ run : time doc/build.sh
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
11
11
steps :
12
- - name : Set up Python
13
- uses : actions/setup-python@v2
12
+ - uses : actions/setup-python@v5
14
13
with :
15
- python-version : 3.8
14
+ python-version : 3.11
16
15
17
- - uses : actions/cache@v2
18
- name : Set up caches
16
+ - uses : actions/cache@v4
19
17
with :
20
18
path : ~/.cache/pip
21
19
key : ${{ runner.os }}
22
20
23
- - name : Checkout repo
24
- uses : actions/checkout@v2
21
+ - uses : actions/checkout@v4
25
22
with :
26
23
fetch-depth : 3
27
24
- name : Fetch tags
28
25
run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
29
26
30
- - name : Install dependencies
31
- run : |
32
- pip install -U pip setuptools wheel
33
- pip install -U -e .[doc,test]
27
+ - run : pip install -U pip setuptools wheel
28
+ - run : pip install -U -e .[doc,test]
34
29
35
- - name : Build docs
36
- run : time catchsegv doc/build.sh
30
+ - run : time doc/build.sh
37
31
38
- - name : Deploy docs
32
+ - run : .github/deploy-gh-pages.sh
39
33
env :
40
34
GH_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
41
- run : .github/deploy-gh-pages.sh
You can’t perform that action at this time.
0 commit comments