22on :
33 push : { branches: [master] }
44 pull_request : { branches: [master] }
5- schedule : [ cron: '2 2 * * 6 ' ] # Every Saturday, 02:02
5+ schedule : [ cron: '2 2 1 * * ' ]
66
77env :
88 TQDM_MININTERVAL : 10
1111 runs-on : ubuntu-latest
1212 timeout-minutes : 1
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1515 - run : pip install flake8 mypy
1616 - run : flake8 backtesting setup.py
1717 - run : mypy --no-warn-unused-ignores backtesting
@@ -21,10 +21,10 @@ jobs:
2121 runs-on : ubuntu-latest
2222 timeout-minutes : 4
2323 steps :
24- - uses : actions/checkout@v4
25- - uses : actions/setup-python@v5
24+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
25+ - uses : actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
2626 with :
27- python-version : ' 3.10 '
27+ python-version : ' 3.11 '
2828 - run : pip install -U --pre bokeh pandas numpy coverage && pip install -U .[test]
2929 - env : { BOKEH_BROWSER: none }
3030 run : time coverage run -m backtesting.test
@@ -36,17 +36,17 @@ jobs:
3636 timeout-minutes : 3
3737 strategy :
3838 matrix :
39- python-version : [3.12 , 3.13 ]
39+ python-version : [3.13 , 3.14 ]
4040 experimental : [false]
4141 include :
4242 - python-version : ' 3.*'
4343 experimental : true
4444 continue-on-error : ${{ matrix.experimental }}
4545 steps :
46- - uses : actions/setup-python@v5
46+ - uses : actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
4747 with :
4848 python-version : ${{ matrix.python-version }}
49- - uses : actions/checkout@v4
49+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
5050 - run : pip install -U .[test]
5151 - env : { BOKEH_BROWSER: none }
5252 run : time python -m backtesting.test
5656 runs-on : ubuntu-latest
5757 timeout-minutes : 3
5858 steps :
59- - uses : actions/checkout@v4
59+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
6060 with :
6161 fetch-depth : 3
6262 - run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
@@ -70,10 +70,18 @@ jobs:
7070 runs-on : windows-latest
7171 timeout-minutes : 5
7272 steps :
73- - uses : actions/checkout@v4
74- - uses : actions/setup-python@v5
73+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
74+ - uses : actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
7575 with :
76- python-version : 3.13
76+ python-version : 3.14
7777 - run : pip install .[test]
7878 - env : { BOKEH_BROWSER: none }
7979 run : python -m backtesting.test
80+
81+ workflow-keepalive :
82+ if : github.event_name == 'schedule'
83+ runs-on : ubuntu-latest
84+ permissions :
85+ actions : write
86+ steps :
87+ - uses : liskin/gh-workflow-keepalive@f72ff1a1336129f29bf0166c0fd0ca6cf1bcb38c # v1.2.1
0 commit comments