updates #332
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: examples.yml | |
| on: | |
| push: | |
| paths-ignore: [ 'docs/**', '**.rst', '**.md' ] | |
| pull_request: | |
| paths-ignore: [ 'docs/**', '**.rst', '**.md' ] | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.head_ref || github.run_id }}" | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - run: pip install uv | |
| - name: Install dependencies | |
| run: | | |
| uv pip install .[dev,cov] --system | |
| - name: Integration test of examples | |
| timeout-minutes: 15 | |
| working-directory: ./ema_workbench/examples | |
| run: | | |
| python example_lake_model.py | |
| python optimization_lake_model_intertemporal.py | |
| python robust_optimization_lake_model_dps.py |