Skip to content

add test Matrix

add test Matrix #4

Workflow file for this run

name: Python Test Macos
on:
push:
branches:
- main
- lwj/test_Matrix
pull_request:
branches:
- main
env:
POETRY_VERSION: "1.8.3"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest]
python-version: ['3.10', 3.11, 3.12]
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: ${{ env.POETRY_VERSION }}
- name: Install dependencies
run: pip install lazyllm
continue-on-error: true
- name: Run tests
run: poetry run python -m tests/basic_tests/