From 4c1997790a2b0ee295bfe6909570f888ad82db8c Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Wed, 26 Oct 2022 15:22:36 +0100 Subject: Add a dry run step to lint & test CI --- dev/bot/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dev') diff --git a/dev/bot/__main__.py b/dev/bot/__main__.py index 1b1a551a..e28be36b 100644 --- a/dev/bot/__main__.py +++ b/dev/bot/__main__.py @@ -31,4 +31,5 @@ async def main() -> None: async with bot: await bot.start(os.getenv("BOT_TOKEN")) -asyncio.run(main()) +if os.getenv("IN_CI", "").lower() != "true": + asyncio.run(main()) -- cgit v1.2.3