Skip to content

Disable fail-fast again #48

Disable fail-fast again

Disable fail-fast again #48

Workflow file for this run

name: Python build
on:
push:
paths:
- '.github/workflows/python-build.yml'
- 'python/**'
- 'src/**'
- 'CMakeLists.txt'
- 'setup.py'
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
name: Build Pyhton binding on ${{ matrix.os }} for Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }} environment
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: GCC version report
run: gcc --version
- name: CMake version report
run: cmake --version
- name: Python environment report
run: python -c "import sys; print(sys.version)"
- name: Upgrade pip and install pytest
run: |
python -m pip install --upgrade pip
pip install pytest scikit-learn==1.2.2
- name: Pip install
run: pip install .
- name: Run tests
shell: bash
run: pytest python/tests/test_*