feat: implement when/then/otherwise for DuckDB #3274
Workflow file for this run
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
name: Random Versions | |
on: | |
pull_request: | |
jobs: | |
tox: | |
strategy: | |
matrix: | |
python-version: ["3.9"] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
enable-cache: "true" | |
cache-suffix: ${{ matrix.python-version }} | |
cache-dependency-glob: "pyproject.toml" | |
- name: generate-random-versions | |
run: python utils/generate_random_versions.py | |
- name: install-random-verions | |
run: uv pip install -r random-requirements.txt --system | |
- name: install-narwhals | |
run: uv pip install -e ".[dev]" --system | |
- name: show versions | |
run: uv pip freeze | |
- name: Run pytest | |
run: | | |
pytest tests --cov=narwhals --cov=tests --cov-fail-under=80 \ | |
--constructors=pandas,pyarrow,polars[eager],polars[lazy] |