Skip to content

[Feature] Implement MARS optimizer #1233

[Feature] Implement MARS optimizer

[Feature] Implement MARS optimizer #1233

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
OMP_NUM_THREADS: 2
MKL_NUM_THREADS: 2
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: pip --disable-pip-version-check install --no-compile -r requirements-dev.txt
- name: Check lint
run: make check
- name: Check test
env:
PYTHONDONTWRITEBYTECODE: 1
run: make test
- name: Check codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./
files: ./coverage.xml
env_vars: OS,PYTHON
fail_ci_if_error: true
verbose: false