🐛 修复 bilibili 图片链接处理错误 #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Load | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install uv and set the python version | |
uses: astral-sh/setup-uv@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run Nonebot | |
run: | | |
uv venv | |
source .venv/bin/activate | |
uv sync --group dev | |
export ENVIRONMENT=dev | |
python -c "import nonebot; nonebot.init(); nonebot.load_from_toml('pyproject.toml')" |