Skip to content

adding pandas and scipy to visum python #238

adding pandas and scipy to visum python

adding pandas and scipy to visum python #238

Workflow file for this run

name: CI Test for Cropped Example
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
oregon_metro_cropped_example:
strategy:
matrix:
python-version:
- "3.10"
fail-fast: false
name: cropped-example-py${{ matrix.python-version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Clone ActivitySim from SimOR_pnr branch
- name: Clone ActivitySim
run: |
cd ..
git clone --branch SimOR_pnr https://github.com/RSGInc/activitysim.git
pwd
ls -la
# Install UV
- name: Install UV
uses: astral-sh/setup-uv@v4
with:
version: "latest"
# Set up Python with UV
- name: Set up Python
run: uv python install ${{ matrix.python-version }}
# Install dependencies using UV and the lock file from ActivitySim
- name: Install dependencies with UV
run: |
cd ../activitysim
uv sync --frozen
uv pip install -e . --no-deps
uv pip list
# Run the test
- name: Run cropped example test
run: |
cd ../activitysim
uv run python $GITHUB_WORKSPACE/resident/test/test_cropped_dataset.py