🐛 更好的Bot运行检查

This commit is contained in:
AkashiCoin 2024-08-27 23:34:57 +08:00
parent f15ee8fa17
commit 7c880497ed

View File

@ -48,4 +48,9 @@ jobs:
id: bot_check_run
run: |
mv scripts/bot_check.py bot_check.py
sed -i "s|^.*\?DB_URL.*|DB_URL=\"${{ env.DB_URL }}\"|g" .env.dev
sed -i "s/^.*\?LOG_LEVEL.*/LOG_LEVEL=${{ env.LOG_LEVEL }}/g" .env.dev
poetry run python3 bot_check.py
env:
DB_URL: "sqlite://:memory:"
LOG_LEVEL: DEBUG