Renaming hotstart
option and hist
fields of optimization result
#1053
Workflow file for this run
This file contains 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: pytest | |
on: | |
pull_request: | |
branches: [ master ] | |
push: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
pytest: | |
name: python${{ matrix.python-version }}-${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
max-parallel: 16 | |
matrix: | |
python-version: ["3.10", "3.11"] | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
default: true | |
- name: Log active toolchain | |
run: rustup show | |
- name: Install test dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install maturin numpy pytest poetry | |
- name: Test Python | |
run: | | |
poetry install | |
poetry run maturin develop --release | |
poetry run pytest | |
shell: bash | |
env: | |
RUST_BACKTRACE: 1 |