Files
OpenBB/.github/workflows/sdkv4-core.yml
2023-07-28 12:34:39 -04:00

36 lines
884 B
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: Run tests
run: |
pip install nox
nox -s tests --python ${{ matrix.python_version }}