1919 with :
2020 python-version : ${{ matrix.python-version }}
2121 - name : Install uv
22- uses : astral-sh/setup-uv@v2
22+ uses : astral-sh/setup-uv@v3
2323 with :
2424 enable-cache : " true"
2525 cache-suffix : ${{ matrix.python-version }}
5050 cd altair
5151 mypy altair tests
5252
53+ marimo :
54+ strategy :
55+ matrix :
56+ python-version : ["3.12"]
57+ os : [ubuntu-latest]
58+ dependencies : ["core", "core,optional"]
59+
60+ runs-on : ${{ matrix.os }}
61+ steps :
62+ - uses : actions/checkout@v4
63+ - uses : actions/setup-python@v5
64+ with :
65+ python-version : ${{ matrix.python-version }}
66+ - name : Install uv
67+ uses : astral-sh/setup-uv@v3
68+ with :
69+ enable-cache : " true"
70+ cache-suffix : ${{ matrix.python-version }}
71+ cache-dependency-glob : " **requirements*.txt"
72+ - name : clone-marimo
73+ run : |
74+ git clone https://github.com/marimo-team/marimo.git --depth=1
75+ cd marimo
76+ git log
77+ - name : install-basics
78+ run : uv pip install --upgrade tox virtualenv setuptools hatch --system
79+ - name : install-marimo-dev
80+ run : |
81+ cd marimo
82+ uv pip install -e ".[dev]" --system
83+ - name : install-narwhals-dev
84+ run : |
85+ uv pip uninstall narwhals --system
86+ uv pip install -e . --system
87+ - name : show-deps
88+ run : uv pip freeze
89+ - name : Create assets directory, copy over index.html
90+ continue-on-error : true
91+ run : |
92+ mkdir -p marimo/marimo/_static/assets
93+ cp marimo/frontend/index.html marimo/marimo/_static/index.html
94+ cp marimo/frontend/public/favicon.ico marimo/marimo/_static/favicon.ico
95+ - name : Run tests with full dependencies
96+ if : ${{ matrix.dependencies == 'core,optional' }}
97+ run : |
98+ cd marimo
99+ hatch run +py=${{ matrix.python-version }} test-optional:test-narwhals
100+ timeout-minutes : 15
101+ - name : Run typechecks
102+ run : |
103+ cd marimo
104+ hatch run typecheck:check
105+
53106 scikit-lego :
54107 strategy :
55108 matrix :
63116 with :
64117 python-version : ${{ matrix.python-version }}
65118 - name : Install uv
66- uses : astral-sh/setup-uv@v2
119+ uses : astral-sh/setup-uv@v3
67120 with :
68121 enable-cache : " true"
69122 cache-suffix : ${{ matrix.python-version }}
@@ -86,3 +139,45 @@ jobs:
86139 run : |
87140 cd scikit-lego
88141 pytest -n auto --disable-warnings --cov=sklego -m "not cvxpy and not formulaic and not umap"
142+
143+ shiny :
144+ strategy :
145+ matrix :
146+ python-version : ["3.12"]
147+ os : [ubuntu-latest]
148+
149+ runs-on : ${{ matrix.os }}
150+ steps :
151+ - uses : actions/checkout@v4
152+ - uses : actions/setup-python@v5
153+ with :
154+ python-version : ${{ matrix.python-version }}
155+ - name : Install uv
156+ uses : astral-sh/setup-uv@v3
157+ with :
158+ enable-cache : " true"
159+ cache-suffix : ${{ matrix.python-version }}
160+ cache-dependency-glob : " **requirements*.txt"
161+ - name : clone-shiny
162+ run : |
163+ git clone https://github.com/posit-dev/py-shiny.git
164+ cd py-shiny
165+ git log
166+ - name : install-basics
167+ run : uv pip install --upgrade tox virtualenv setuptools --system
168+ - name : install-shiny-dev
169+ env :
170+ UV_SYSTEM_PYTHON : 1
171+ run : |
172+ cd py-shiny
173+ make narwhals-install-shiny
174+ - name : install-narwhals-dev
175+ run : |
176+ uv pip uninstall narwhals --system
177+ uv pip install -e . --system
178+ - name : show-deps
179+ run : uv pip freeze
180+ - name : Run `make narwhals-test-integration`
181+ run : |
182+ cd py-shiny
183+ make narwhals-test-integration
0 commit comments