diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8fe75de9..0d60e9b6c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -68,6 +68,9 @@ jobs: - name: Run tests for HTTP Mode adapters (Tornado) run: | pytest tests/adapter_tests/tornado/ + - name: Run tests for HTTP Mode adapters (WSGI) + run: | + pytest tests/adapter_tests/wsgi/ - name: Install async dependencies run: | pip install -r requirements/async.txt @@ -82,3 +85,10 @@ jobs: run: | # Requires async test dependencies pytest tests/adapter_tests/asgi/ + - name: Install all dependencies + run: | + pip install -r requirements/testing.txt + - name: Run asynchronous tests + run: | + pytest tests/slack_bolt_async/ + pytest tests/scenario_tests_async/ diff --git a/pyproject.toml b/pyproject.toml index ef5440fed..5ce2c62bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,7 @@ log_date_format = "%Y-%m-%d %H:%M:%S" filterwarnings = [ "ignore:\"@coroutine\" decorator is deprecated since Python 3.8, use \"async def\" instead:DeprecationWarning", "ignore:The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.:DeprecationWarning", + "ignore:Unknown config option. asyncio_mode:pytest.PytestConfigWarning", # ignore warning when asyncio_mode is set but pytest-asyncio is not installed ] asyncio_mode = "auto"