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 77jobs :
88 build :
99 name : Build
10- runs-on : ubuntu-18.04
10+ runs-on : ubuntu-latest
1111 strategy :
1212 matrix :
13- python-version : [3.7, '3.10' ]
13+ python-version : [3.9, 3.13 ]
1414 include :
15- - python-version : 3.9
15+ - python-version : 3.11
1616 test-type : lint
17- - python-version : 3.9
17+ - python-version : 3.11
1818 test-type : docs
1919
2020 steps :
21- - uses : actions/setup-python@v4
21+ - uses : actions/setup-python@v5
2222 with :
2323 python-version : ${{ matrix.python-version }}
24- - uses : actions/cache@v3
24+ - uses : actions/cache@v4
2525 with :
2626 path : ~/.cache/pip
2727 key : ${{ runner.os }}-py${{ matrix.python-version }}
28- - uses : actions/checkout@v3
28+ - uses : actions/checkout@v4
2929 with :
3030 fetch-depth : 3
3131 - name : Fetch tags
3232 run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
3333
3434 - run : pip install -U pip setuptools wheel
3535 - 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]
3737 - if : matrix.test-type == 'docs'
3838 run : pip install -e .[doc] # -e provides _version.py for pdoc
3939 - run : pip install -U .[test]
5050
5151 - if : ' ! matrix.test-type'
5252 env : { BOKEH_BROWSER: none }
53- run : time catchsegv python -m backtesting.test
53+ run : time python -m backtesting.test
5454
5555 - 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 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - name : Set up Python
13- uses : actions/setup-python@v2
12+ - uses : actions/setup-python@v5
1413 with :
15- python-version : 3.8
14+ python-version : 3.11
1615
17- - uses : actions/cache@v2
18- name : Set up caches
16+ - uses : actions/cache@v4
1917 with :
2018 path : ~/.cache/pip
2119 key : ${{ runner.os }}
2220
23- - name : Checkout repo
24- uses : actions/checkout@v2
21+ - uses : actions/checkout@v4
2522 with :
2623 fetch-depth : 3
2724 - name : Fetch tags
2825 run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
2926
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]
3429
35- - name : Build docs
36- run : time catchsegv doc/build.sh
30+ - run : time doc/build.sh
3731
38- - name : Deploy docs
32+ - run : .github/deploy-gh-pages.sh
3933 env :
4034 GH_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
41- run : .github/deploy-gh-pages.sh
You can’t perform that action at this time.
0 commit comments