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.10', 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]
@@ -44,13 +44,13 @@ jobs:
4444 run : mypy backtesting
4545 - if : matrix.test-type == 'lint'
4646 env : { BOKEH_BROWSER: none }
47- run : time catchsegv coverage run -m backtesting.test
47+ run : time coverage run -m backtesting.test
4848 - if : matrix.test-type == 'lint'
49- run : coverage report
49+ run : coverage combine && coverage report
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
0 commit comments