Skip to content

Problem.add_parameter: Rename kwarg estimated->estimate #2553

Problem.add_parameter: Rename kwarg estimated->estimate

Problem.add_parameter: Rename kwarg estimated->estimate #2553

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '48 4 * * *'
jobs:
build:
strategy:
matrix:
platform: [windows-latest, macos-latest, ubuntu-latest]
python-version: ["3.10", "3.12"]
runs-on: ${{ matrix.platform }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Prepare python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Get pip cache directory
id: pip_cache_dir
run: |
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
shell: bash
- name: Cache
uses: actions/cache@v4
with:
path: ${{ steps.pip_cache_dir.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/.ci_pip_reqs.txt') }}-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-${{ matrix.python-version }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r requirements-dev.txt
- name: Quality tests
run: tox -e quality
if: matrix.platform == 'ubuntu-latest'
- name: Unit tests
run: tox -e unit
- name: Coverage
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
if: matrix.platform == 'ubuntu-latest'