Adapt aca-model to the pylcm #361 API restructure #96
Workflow file for this run
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: main | |
| # aca-model is a git submodule of the aca-dev workspace and has no pixi config | |
| # of its own — the pixi environments live in the parent workspace, whose | |
| # `tests-cpu` env has editable path-dependencies on private sibling repos that a | |
| # standalone CI runner cannot clone. CI therefore installs with pip directly. | |
| concurrency: | |
| group: ${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| run-tests: | |
| name: Run tests on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| python-version: | |
| - '3.14' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install pylcm (pinned to feat/distributed-V-arrays / PR #364 until it merges to main) | |
| run: >- | |
| pip install "pylcm @ | |
| git+https://github.com/OpenSourceEconomics/pylcm.git@feat/distributed-V-arrays" | |
| - name: Install aca-model with test deps | |
| run: pip install -e . pytest pdbp | |
| - name: Run pytest | |
| run: pytest tests |