Bump numpy from 1.20.3 to 1.22.0 in /pandas-quant-data-provider #221
This file contains 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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: NOX-Tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8"] | |
env: | |
LD_LIBRARY_PATH: '/tmp/lib:/usr/lib:/usr/local/lib/' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install C dependencies | |
env: | |
LD_LIBRARY_PATH: '/tmp/lib:/usr/lib:/usr/local/lib/' | |
TA_LIBRARY_PATH: '/tmp/lib/' | |
TA_INCLUDE_PATH: '/tmp/include/' | |
run: | | |
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz | |
tar -xzf ta-lib-0.4.0-src.tar.gz | |
cd ta-lib/ | |
./configure --prefix=/tmp | |
make | |
make install | |
rm -rf ta-lib* | |
pip install pandas | |
pip install numpy>=1.20.2 | |
pip install TA-Lib | |
python -c 'import talib; print(talib.EMA)' | |
python -c'import numpy as np; print(np.__version__)' | |
- name: Install nox | |
run: pip install -U nox pytest | |
- name: execute nox tests on COMMON | |
working-directory: pandas-ml-common | |
run: nox | |
- name: execute nox tests on TA_QUANT | |
working-directory: pandas-ta-quant | |
run: nox | |
- name: execute nox tests on ML_UTILS | |
working-directory: pandas-ml-utils | |
run: nox | |
- name: execute nox tests on ML_UTILS_TORCH | |
working-directory: pandas-ml-utils-torch | |
run: nox | |
- name: execute nox tests on TA_QUANT_PLOT | |
working-directory: pandas-ta-quant-plot | |
run: nox | |
- name: execute nox tests on ML_QUANT | |
working-directory: pandas-ml-quant | |
run: nox | |
- name: execute nox tests on QUANT_DATA_PROVIDER | |
working-directory: pandas-quant-data-provider | |
run: nox | |
- name: execute nox tests on INTEGRATION | |
working-directory: pandas-ml-1ntegration-test | |
run: nox | |
# | |
# commit changes | |
# | |
- name: commit frozen versions | |
uses: EndBug/add-and-commit@v7 | |
with: | |
add: '*/*frozen.txt' | |
author_name: action | |
author_email: [email protected] | |
# push: false |