Skip to content

Commit

Permalink
update integration tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Palazzo committed Feb 4, 2025
1 parent 69dff4b commit 008ab1b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install libomp (macOS only)
if: matrix.os == 'macos-latest'
run: |
brew install libomp
echo 'export DYLD_LIBRARY_PATH=$(brew --prefix libomp)/lib:$DYLD_LIBRARY_PATH' >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install invoke .[pomegranate,test]
python -m pip install invoke .[pomegranate, xgboost, test]
- name: Run integration tests
run: invoke integration

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/minimum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install libomp (macOS only)
if: matrix.os == 'macos-latest'
run: |
brew install libomp
echo 'export DYLD_LIBRARY_PATH=$(brew --prefix libomp)/lib:$DYLD_LIBRARY_PATH' >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ dependencies = [
'copulas>=0.11.0',
'tqdm>=4.29',
'plotly>=5.19.0',
'xgboost>=1.1.0',
]

[project.urls]
Expand All @@ -56,7 +55,7 @@ torch = [
"torch>=2.2.0;python_version>='3.12'",
]
pomegranate = ['pomegranate>=0.15,<1.0']
xgboost = ['xgboost>=1.1.0']
xgboost = ['xgboost>=2.1.3']
test = [
'sdmetrics[torch]',
'pytest>=6.2.5,<7',
Expand Down

0 comments on commit 008ab1b

Please sign in to comment.