Skip to content

Commit a5e2e2f

Browse files
authored
ci: reenable tubular tests (#2467)
* ci: reenable tubular tests * add --no-sync just in case * Update .github/workflows/downstream_tests.yml
1 parent 8f76136 commit a5e2e2f

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

.github/workflows/downstream_tests.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -246,46 +246,45 @@ jobs:
246246
touch pytest.ini
247247
uv run --no-sync pytest tests
248248
249-
# temporarily commented out until they address the `new_series` deprecation
250-
# tubular:
251-
# strategy:
252-
# matrix:
253-
# python-version: ["3.12"]
254-
# os: [ubuntu-latest]
249+
tubular:
250+
strategy:
251+
matrix:
252+
python-version: ["3.12"]
253+
os: [ubuntu-latest]
255254

256-
# runs-on: ${{ matrix.os }}
257-
# steps:
258-
# - uses: actions/checkout@v4
259-
# - uses: actions/setup-python@v5
260-
# with:
261-
# python-version: ${{ matrix.python-version }}
262-
# - name: Install uv
263-
# uses: astral-sh/setup-uv@v6
264-
# with:
265-
# enable-cache: "true"
266-
# cache-suffix: ${{ matrix.python-version }}
267-
# cache-dependency-glob: "pyproject.toml"
268-
# - name: clone-tubular
269-
# run: |
270-
# git clone https://github.com/lvgig/tubular --depth=1
271-
# cd tubular
272-
# git log
273-
# - name: install-basics
274-
# run: uv pip install --upgrade tox virtualenv setuptools pytest-env --system
275-
# - name: install-tubular-dev
276-
# run: |
277-
# cd tubular
278-
# uv pip install -e ".[dev]" --system
279-
# - name: install-narwhals-dev
280-
# run: |
281-
# uv pip uninstall narwhals --system
282-
# uv pip install -e . --system
283-
# - name: show-deps
284-
# run: uv pip freeze
285-
# - name: Run pytest
286-
# run: |
287-
# cd tubular
288-
# pytest tests --config-file=pyproject.toml
255+
runs-on: ${{ matrix.os }}
256+
steps:
257+
- uses: actions/checkout@v4
258+
- uses: actions/setup-python@v5
259+
with:
260+
python-version: ${{ matrix.python-version }}
261+
- name: Install uv
262+
uses: astral-sh/setup-uv@v6
263+
with:
264+
enable-cache: "true"
265+
cache-suffix: ${{ matrix.python-version }}
266+
cache-dependency-glob: "pyproject.toml"
267+
- name: clone-tubular
268+
run: |
269+
git clone https://github.com/lvgig/tubular --depth=1
270+
cd tubular
271+
git log
272+
- name: install-basics
273+
run: uv pip install --upgrade tox virtualenv setuptools pytest-env --system
274+
- name: install-tubular-dev
275+
run: |
276+
cd tubular
277+
uv pip install -e ".[dev]" --system
278+
- name: install-narwhals-dev
279+
run: |
280+
uv pip uninstall narwhals --system
281+
uv pip install -e . --system
282+
- name: show-deps
283+
run: uv pip freeze
284+
- name: Run pytest
285+
run: |
286+
cd tubular
287+
pytest tests --config-file=pyproject.toml
289288
290289
plotly:
291290
strategy:
@@ -496,7 +495,8 @@ jobs:
496495
touch pytest.ini
497496
touch tests/__init__.py
498497
touch tests/utils/__init__.py
499-
uv run pytest tests
498+
# Keep `--no-sync` in case Narwhals is re-synced with PyPI version
499+
uv run --no-sync pytest tests
500500
timeout-minutes: 15
501501

502502
darts:

0 commit comments

Comments
 (0)