adding pandas and scipy to visum python #238
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |