Skip to content

chore: use Narwhals stable api #653

chore: use Narwhals stable api

chore: use Narwhals stable api #653

Workflow file for this run

name: Check Optional Dependencies
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install pytest setuptools wheel
- name: Run Base Install
run: |
python -m pip install -e .
- name: Run Checks
run: |
python tests/scripts/check_pip.py missing cvxpy
python tests/scripts/check_pip.py installed scikit-learn
python tests/scripts/import_all.py
- name: Install cvxpy
run: |
python -m pip install -e ".[cvxpy]"
- name: Run Checks
run: |
python tests/scripts/check_pip.py installed cvxpy scikit-learn
python tests/scripts/import_all.py
- name: Install All
run: |
python -m pip install -e ".[all]"
- name: Run Checks
run: |
python tests/scripts/check_pip.py installed cvxpy formulaic scikit-learn umap-learn
- name: Docs can Build
run: |
sudo apt-get update && sudo apt-get install pandoc
python -m pip install -e ".[docs]"
mkdocs build