修复了一些错误 更新了AI.md(给ai看的)
This commit is contained in:
39
.github/workflows/ci.yml
vendored
Normal file
39
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, master]
|
||||
pull_request:
|
||||
branches: [main, master]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install pytest
|
||||
pip install -e .
|
||||
|
||||
- name: Lint with pylint
|
||||
continue-on-error: true
|
||||
run: |
|
||||
pip install pylint
|
||||
pylint oss/ store/@{NebulaShell}/ --exit-zero
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
PYTHONPATH=$PYTHONPATH:. python -m pytest -v --tb=short
|
||||
Reference in New Issue
Block a user