Skip to content

Commit

Permalink
👷 添加pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashiCoin committed Sep 1, 2024
1 parent ec9b2ab commit df1a84b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/bot_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry
key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}
key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('pyproject.toml') }}

- name: Cache playwright cache
id: cache-playwright
uses: actions/cache@v3
with:
path: ~/.cache/ms-playwright
key: playwright-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}

- name: Cache Data cache
uses: actions/cache@v3
Expand All @@ -44,6 +51,9 @@ jobs:
poetry install --no-root
poetry run pip install pydantic==1.10
- name: Run tests
run: poetry run pytest --cov=zhenxun --cov-report xml

- name: Check bot run
id: bot_check_run
run: |
Expand Down

0 comments on commit df1a84b

Please sign in to comment.