diff --git a/.github/workflows/sdk-ci.yml b/.github/workflows/sdk-ci.yml new file mode 100644 index 0000000000..53fc7da39a --- /dev/null +++ b/.github/workflows/sdk-ci.yml @@ -0,0 +1,27 @@ +name: SDK CI + +on: + push: + branches: [main, master] + pull_request: + branches: [main, master] + +jobs: + python-compile: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + + - name: Syntax check (compileall) + run: python3 -m compileall sdk/app + + - name: Doc path validation + run: bash 开发文档/6、测试/scripts/validate_doc_paths.sh + + - name: Pip install (smoke) + run: pip install -q -r sdk/requirements.txt + continue-on-error: true