19
19
with :
20
20
python-version : ${{ matrix.python-version }}
21
21
- name : Install uv
22
- uses : astral-sh/setup-uv@v2
22
+ uses : astral-sh/setup-uv@v3
23
23
with :
24
24
enable-cache : " true"
25
25
cache-suffix : ${{ matrix.python-version }}
50
50
cd altair
51
51
mypy altair tests
52
52
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
+
53
106
scikit-lego :
54
107
strategy :
55
108
matrix :
63
116
with :
64
117
python-version : ${{ matrix.python-version }}
65
118
- name : Install uv
66
- uses : astral-sh/setup-uv@v2
119
+ uses : astral-sh/setup-uv@v3
67
120
with :
68
121
enable-cache : " true"
69
122
cache-suffix : ${{ matrix.python-version }}
@@ -86,3 +139,45 @@ jobs:
86
139
run : |
87
140
cd scikit-lego
88
141
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