Skip to content

[Build] Fix issues #1231

[Build] Fix issues

[Build] Fix issues #1231

Workflow file for this run

name: build-test
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
- "release/**"
workflow_dispatch:
concurrency:
# this ensures after each commit the old jobs are cancelled and the new ones
# run instead.
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
all-deps:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-12]
python: ["3.8", "3.9", "3.10", "3.11"]
requirementsPinned: ["false"]
uses: ./.github/workflows/test-all-deps.yml
with:
os: ${{ matrix.os }}
python: ${{ matrix.python }}
requirementsPinned: ${{ matrix.requirementsPinned }}
codeCovPython: "3.11"
minimal-deps:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-12]
python: ["3.8", "3.9", "3.10", "3.11"]
uses: ./.github/workflows/test-minimal-deps.yml
with:
os: ${{ matrix.os }}
python: ${{ matrix.python }}
codeCovPython: "3.11"
other-ml:
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.11"]
mlpackage: [lightgbm, xgboost, tensorflow, pytorch]
failfast: false

Check failure on line 52 in .github/workflows/build-test.yml

View workflow run for this annotation

GitHub Actions / build-test

Invalid workflow file

The workflow is not valid. .github/workflows/build-test.yml (Line: 52, Col: 7): Unexpected value 'failfast'
uses: ./.github/workflows/test-other-ml.yml
with:
os: ${{ matrix.os }}
python: ${{ matrix.python }}
mlpackage: ${{ matrix.mlpackage }}
linting:
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.11"]
uses: ./.github/workflows/linting.yml
with:
os: ${{ matrix.os }}
python: ${{ matrix.python }}