Skip to content

Commit a47aff3

Browse files
committed
fix: install talib for test
1 parent 6c1288c commit a47aff3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: .github/workflows/CI.yml

+13
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ jobs:
3636
python-version: '3.10'
3737
- name: install uv
3838
uses: astral-sh/setup-uv@v5
39+
- name: Install talib
40+
run: |
41+
wget https://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz/download
42+
tar -xzf ta-lib-0.4.0-src.tar.gz
43+
cd ta-lib
44+
./configure
45+
make
46+
sudo make install
47+
cd ..
48+
rm -rf ta-lib
49+
env:
50+
TA_INCLUDE_PATH: ${{ github.workspace }}/dependencies/include
51+
TA_LIBRARY_PATH: ${{ github.workspace }}/dependencies/lib
3952
- name: Test
4053
run: |
4154
uv run pytest

0 commit comments

Comments
 (0)