Skip to content

Commit

Permalink
pip xgboost for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
robsdavis committed Sep 13, 2024
1 parent 43dcad2 commit 67a58d2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ jobs:
matrix:
python-version: ["3.11"]
os: [macos-13]
env:
ACTIONS_RUNNER_DEBUG: true
ACTIONS_STEP_DEBUG: true
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -66,13 +63,20 @@ jobs:
python -m pip install -U pip
pip install -r prereq.txt
pip install pytest-timeout
if [[ $(uname) == 'Darwin' ]]; then
pip install xgboost==1.7.6
fi
- name: Set environment variables for MNIST
run: echo "MNIST_DATA_DIR=${{ github.workspace }}/mnist_data" >> $GITHUB_ENV
- name: Dump GitHub Action environment
run: |
echo "OS: $(uname -a)"
python --version
pip freeze
- name: Enable Debug Logging
run: |
echo "::set-env name=ACTIONS_STEP_DEBUG::true"
echo "::set-env name=ACTIONS_RUNNER_DEBUG::true"
- name: Test Core
run: |
pip install .[testing]
Expand Down

0 comments on commit 67a58d2

Please sign in to comment.