Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci test macos #25

Closed
wants to merge 14 commits into from
Closed
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Tests

on:
push:
branches: [ main ]
branches: [ main, ci-test-macos ]
pull_request:

jobs:
Expand All @@ -11,15 +11,19 @@ jobs:
matrix:
os: [ubuntu-latest]
python: ['3.8', '3.9', '3.10', '3.11']
include:
- os: macos-latest
python: '3.10'
fail-fast: false
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dependencies = [
"cleanco>=2.2",
# It is important to fix the version of xgboost for reproducible classification scores
"xgboost",
"xgboost==2.0.3; sys_platform=='darwin'", # to avoid having to install libomp.dylib for later versions of xgboost
"sparse-dot-topn>=1.1.1",
"joblib",
"pyarrow>=6.0.1", # seems to work with spark 3.1.2 - 3.3.1
Expand Down
Loading