Skip to content

Tests Manually Run

Tests Manually Run #28

Workflow file for this run

---
name: Tests Manually Run
on: workflow_dispatch
jobs:
build:
name: ${{ matrix.os }}-Python${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# xgboost requires libomp on macOS
- name: Install dependencies on macOS
if: runner.os == 'macOS'
run: brew install libomp
- name: Install
run: pip install .[test]
- name: Run Tests
run: pytest .
...