Skip to content

fix: use input scenario probabilities in CostSummaryResults aggregation #16

fix: use input scenario probabilities in CostSummaryResults aggregation

fix: use input scenario probabilities in CostSummaryResults aggregation #16

Workflow file for this run

name: CI
on:
push:
branches: [master, main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Conda (Miniforge) + Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Miniforge3
miniforge-version: latest
auto-update-conda: true
activate-environment: ci
python-version: ${{ matrix.python-version }}
channels: conda-forge,defaults
channel-priority: strict
- name: Show conda info
shell: bash -l {0}
run: |
conda info
python --version
- name: Set up uv
uses: astral-sh/setup-uv@v3
- name: Install dependencies
shell: bash -l {0}
run: |
conda install -y -c conda-forge flake8 pytest
uv pip install --system -r requirements.lock
uv pip install --system highspy
pip install -e .
- name: Lint with flake8 (syntax errors only)
shell: bash -l {0}
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Test with pytest
shell: bash -l {0}
run: |
pytest -vv tests/