File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 4343 - name : Run tests and generate coverage report
4444 run : python -m pytest -n auto --cov pydis_core -q
4545
46+ - name : Build and dry run the example bot to ensure deps can be installed & imported
47+ run : docker run --rm -it --env GUILD_ID=1234 --env IN_CI=true $(docker build -q -f .\dev\Dockerfile .) run python -m dev.bot
48+
4649 # Prepare the Pull Request Payload artifact. If this fails, we
4750 # we fail silently using the `continue-on-error` option. It's
4851 # nice if this succeeds, but if it fails for any reason, it
Original file line number Diff line number Diff line change @@ -31,4 +31,5 @@ async def main() -> None:
3131 async with bot :
3232 await bot .start (os .getenv ("BOT_TOKEN" ))
3333
34- asyncio .run (main ())
34+ if os .getenv ("IN_CI" , "" ).lower () != "true" :
35+ asyncio .run (main ())
You can’t perform that action at this time.
0 commit comments