Skip to content

Commit

Permalink
Build virtual environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Aug 16, 2023
1 parent 6b44235 commit 7b168da
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -337,24 +337,19 @@ jobs:
with:
python-version: '3.12-dev'

- name: Update Python Path
# xref https://github.com/actions/setup-python/issues/701
run: PATH=${{ steps.pydev.outputs.python-path }}:$PATH
if: ${{ matrix.os == 'macOS-latest'}}

- name: Install dependencies
- name: Build Environment
run: |
${{ steps.pydev.outputs.python-path }} -m venv ~/virtualenvs/pandas-dev
. ~/virtualenvs/pandas-dev/bin/activate
python --version
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.0.1 meson-python==0.13.1
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
python -m pip install versioneer[toml]
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
python -m pip install -ve . --no-build-isolation --no-index
python -m pip list
- name: Build Pandas
run: python -m pip install -ve . --no-build-isolation --no-index

- name: Build Version
run: python -m pip list

- name: Test
uses: ./.github/actions/run-tests
- name: Run Tests
run: |
. ~/virtualenvs/pandas-dev/bin/activate
ci/run_tests.sh

0 comments on commit 7b168da

Please sign in to comment.