Skip to content

Mac

Mac #282

name: Mac
on:
push:
branches:
- master
paths:
- 'doc/**'
- 'BPt/**'
pull_request:
schedule:
- cron: '0 13 * * 1' # Every Monday at 1PM UTC (9AM EST)
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10.0]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .
brew install lightgbm
- name: Test with pytest with coverage
run: |
pytest
- name: Upgrade and re-test
run : |
brew install libomp
pip install .[extra]
brew install lightgbm
pytest