Skip to content

chore(deps): update dependency pytest-github-actions-annotate-failure… #1026

chore(deps): update dependency pytest-github-actions-annotate-failure…

chore(deps): update dependency pytest-github-actions-annotate-failure… #1026

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: git clone https://github.com/bangumi/dev-env $HOME/dev-env
- run: cd ~/dev-env && docker compose up -d
- uses: actions/checkout@v4
with:
submodules: "true"
- uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- uses: astral-sh/setup-uv@v5
- run: uv sync --frozen
- run: bash $HOME/dev-env/wait_mysql_ready.sh
- run: uv run pytest -rva
timeout-minutes: 10
env:
MYSQL_HOST: "127.0.0.1"
MYSQL_PORT: "3306"
MYSQL_USER: "user"
MYSQL_PASS: "password"
MYSQL_DB: "bangumi"