diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc3d324a1..42668e46f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -115,7 +115,7 @@ jobs: strategy: matrix: os: [ windows-latest ] - python-version: [3.7] + python-version: [3.7, 3.8] steps: - uses: actions/checkout@v2 @@ -130,8 +130,7 @@ jobs: if: startsWith(runner.os, 'Windows') with: path: ~\AppData\Local\pip\Cache - key: ${{ runner.os }}-pip - restore-keys: ${{ runner.os }}-pip + key: ${{ matrix.os }}-${{ matrix.python-version }}-pip - name: Installation run: | diff --git a/build_helpers/TA_Lib-0.4.17-cp38-cp38-win_amd64.whl b/build_helpers/TA_Lib-0.4.17-cp38-cp38-win_amd64.whl new file mode 100644 index 000000000..90626b183 Binary files /dev/null and b/build_helpers/TA_Lib-0.4.17-cp38-cp38-win_amd64.whl differ diff --git a/build_helpers/install_windows.ps1 b/build_helpers/install_windows.ps1 index 138fba208..af1768d18 100644 --- a/build_helpers/install_windows.ps1 +++ b/build_helpers/install_windows.ps1 @@ -3,7 +3,15 @@ # Invoke-WebRequest -Uri "https://download.lfd.uci.edu/pythonlibs/xxxxxxx/TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl" -OutFile "TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl" python -m pip install --upgrade pip -pip install build_helpers\TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl + +$pyv = python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')" + +if ($pyv == '3.7') { + pip install build_helpers\TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl +} +if ($pyv == '3.8') { + pip install build_helpers\TA_Lib-0.4.17-cp38-cp38-win_amd64.whl +} pip install -r requirements-dev.txt pip install -e .