Skip to content

Added outlier detection with iterativetrimming #446

Added outlier detection with iterativetrimming

Added outlier detection with iterativetrimming #446

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
testing_minimal:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10' ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Minimal Bofire, Python ${{ matrix.python-version }}
run: pip install "." pytest
- name: Run domain-only test, Python ${{ matrix.python-version }}
run: |
pytest tests/bofire/data_models/test_domain.py \
tests/bofire/data_models/test_base.py \
tests/bofire/data_models/test_constraint_fulfillment.py \
tests/bofire/data_models/test_constraints.py \
tests/bofire/data_models/test_domain_validators.py \
tests/bofire/data_models/test_features.py \
tests/bofire/data_models/test_filters.py \
tests/bofire/data_models/test_nchoosek_combinatorics.py \
tests/bofire/data_models/test_numeric.py \
tests/bofire/data_models/test_unions.py \
tests/bofire/data_models/test_util.py
testing:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.10' ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Bofire, Python ${{ matrix.python-version }}
run: pip install ".[optimization,tests,cheminfo,xgb]"
- name: Install ipopt, Python ${{ matrix.python-version }}
run: sudo apt install build-essential pkg-config coinor-libipopt1v5 coinor-libipopt-dev
- name: Install cyipopt, Python ${{ matrix.python-version }}
run: pip install cyipopt
- name: Run tests, Python ${{ matrix.python-version }}
run: pytest -ra --cov=bofire --cov-report term-missing tests
- name: Run pip freeze, Python ${{ matrix.python-version }}
run: pip freeze
testing_tutorials:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Bofire
run: pip install ".[optimization,tests,cheminfo,xgb]"
- name: Install ipopt
run: sudo apt install build-essential pkg-config coinor-libipopt1v5 coinor-libipopt-dev
- name: Install cyipopt
run: pip install cyipopt
- name: Run notebooks
run: python scripts/run_tutorials.py -p "$(pwd)"