Skip to content

Commit 5f75610

Browse files
committed
chore: add ci test import
1 parent 712b8f0 commit 5f75610

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/CI.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ jobs:
115115
with:
116116
name: wheels
117117
path: dist
118+
- name: Test wheel installation
119+
run: |
120+
pip install dist/*.whl
121+
python -c "import polars_ta; print('Import successful')"
118122
119123
linux-arm:
120124
runs-on: ubuntu-24.04-arm
@@ -157,6 +161,10 @@ jobs:
157161
with:
158162
name: wheels
159163
path: dist
164+
- name: Test wheel installation
165+
run: |
166+
pip install dist/*.whl
167+
python -c "import polars_ta; print('Import successful')"
160168
161169
162170
windows:
@@ -198,6 +206,10 @@ jobs:
198206
with:
199207
name: wheels
200208
path: dist
209+
- name: Test wheel installation
210+
run: |
211+
pip install dist/*.whl
212+
python -c "import polars_ta; print('Import successful')"
201213
202214
macos:
203215
runs-on: macos-latest
@@ -229,11 +241,15 @@ jobs:
229241
with:
230242
name: wheels
231243
path: dist
244+
- name: Test wheel installation
245+
run: |
246+
pip install dist/*.whl
247+
python -c "import polars_ta; print('Import successful')"
232248
233249
release:
234250
name: Release
235251
runs-on: ubuntu-latest
236-
if: "startsWith(github.ref, 'refs/tags/')"
252+
if: startsWith(github.ref, 'refs/tags/')
237253
needs: [linux, macos, windows]
238254
steps:
239255
- uses: actions/download-artifact@v3

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,6 @@ dmypy.json
170170
cython_debug/
171171

172172
# pytest benchmark
173-
.benchmarks
173+
.benchmarks
174+
175+
.DS_Store

0 commit comments

Comments
 (0)