Files
OpenBB/.github/workflows/sdkv4-core.yml
James Maslek ac27475ca8 Starting to port econometrics to v4 (#5394)
* add econometrics basics

* actual function

* stuff

* Edit df helpers to make function work as expected

* Get this to work

* Exclude from web api

* More functions + lint

* Cointegration + lint

* add causality

* add unitroot

* merge + update

* add to_polars :D

* add to_numpy

* aha.  I can now do multi index in basemodels

* Add panel models!

* Add tests for my multi index stuff

* cache pip envs on testing

* life can be ruff sometimes
2023-09-08 02:03:36 +05:30

44 lines
1.1 KiB
YAML
Vendored

name: Test SDKV4
on:
pull_request:
branches:
- feature/openbb-sdk-v4
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
unit_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python_version:
["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Install Python ${{ matrix.python_version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
allow-prereleases: true
cache: "pip"
- name: Cache pip packages
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('openbb_sdk/poetry.lock') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Run tests
run: |
pip install nox
nox -s tests --python ${{ matrix.python_version }}