Skip to content

Commit 7b168da

Browse files
committed
Build virtual environment
1 parent 6b44235 commit 7b168da

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.github/workflows/unit-tests.yml

+9-14
Original file line numberDiff line numberDiff line change
@@ -337,24 +337,19 @@ jobs:
337337
with:
338338
python-version: '3.12-dev'
339339

340-
- name: Update Python Path
341-
# xref https://github.com/actions/setup-python/issues/701
342-
run: PATH=${{ steps.pydev.outputs.python-path }}:$PATH
343-
if: ${{ matrix.os == 'macOS-latest'}}
344-
345-
- name: Install dependencies
340+
- name: Build Environment
346341
run: |
342+
${{ steps.pydev.outputs.python-path }} -m venv ~/virtualenvs/pandas-dev
343+
. ~/virtualenvs/pandas-dev/bin/activate
347344
python --version
348345
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.0.1 meson-python==0.13.1
349346
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
350347
python -m pip install versioneer[toml]
351348
python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17
349+
python -m pip install -ve . --no-build-isolation --no-index
350+
python -m pip list
352351
353-
- name: Build Pandas
354-
run: python -m pip install -ve . --no-build-isolation --no-index
355-
356-
- name: Build Version
357-
run: python -m pip list
358-
359-
- name: Test
360-
uses: ./.github/actions/run-tests
352+
- name: Run Tests
353+
run: |
354+
. ~/virtualenvs/pandas-dev/bin/activate
355+
ci/run_tests.sh

0 commit comments

Comments
 (0)