Skip to content

Commit

Permalink
Merge pull request #165 from ide-rea/master
Browse files Browse the repository at this point in the history
增加自动化测试鉴权Token
  • Loading branch information
seiriosPlus authored Mar 6, 2024
2 parents 8bd217d + 41f0fc2 commit c9768e0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit c9768e0

Please sign in to comment.