diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 14a4e65b..557f64d3 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.8"] steps: - uses: actions/checkout@v3 @@ -36,5 +36,8 @@ jobs: # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest - run: | - pytest + env: + APPBUILDER_TOKEN: ${{ secrets.APPBUILDER_TOKEN }} + run: | + # 忽略retriever组件 + pytest --ignore ./appbuilder/tests/test_bes_retriever.py