(TUI): Added Engine and Server Control Panel #37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Python Tests | |
| on: [push, pull_request] | |
| jobs: | |
| test-python: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set Up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Install TA-Lib from source | |
| run: | | |
| curl -L -o ta-lib-0.6.4-src.tar.gz https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/ta-lib-0.6.4-src.tar.gz | |
| tar -xzf ta-lib-0.6.4-src.tar.gz | |
| cd ta-lib-0.6.4/ | |
| ./configure --prefix=/usr | |
| make | |
| sudo make install | |
| - name: Install TA-lib | |
| run: | | |
| python3 -m pip install TA-Lib | |
| - name: Install all other dependencies | |
| run: pip install -r requirements.txt | |
| - name: Python Tests | |
| run: PYTHONPATH=. pytest |