From e507e1417f96a4a332c8e90e5be7afc802cd10f7 Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Tue, 18 Mar 2025 15:30:00 -0400 Subject: [PATCH 1/4] health: increase CI coverage --- .github/workflows/tests.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8fe75de9..79ce89e42 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: jobs: build: # Avoiding -latest due to https://github.com/actions/setup-python/issues/162 - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 strategy: fail-fast: false @@ -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/ From 7071bcd9fe8ba3ab26392b47284877ea5f43dc04 Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Tue, 18 Mar 2025 15:33:47 -0400 Subject: [PATCH 2/4] Bump ubuntu down for 3.6, 3.7 compatibility --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 79ce89e42..74250e755 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: jobs: build: # Avoiding -latest due to https://github.com/actions/setup-python/issues/162 - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 timeout-minutes: 10 strategy: fail-fast: false From c5358a95a600ce8eb6d20a13423e60316767ab5f Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Tue, 18 Mar 2025 15:34:46 -0400 Subject: [PATCH 3/4] We are stuck on ubuntu 20 if we want to support 3.6 --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 74250e755..0d60e9b6c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: jobs: build: # Avoiding -latest due to https://github.com/actions/setup-python/issues/162 - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 timeout-minutes: 10 strategy: fail-fast: false From 12b6bc9386f14cbd68c1c651d4afb6fc914ccddd Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Thu, 20 Mar 2025 12:39:38 -0400 Subject: [PATCH 4/4] Ignore config warning for pytest-asyncio when it is not installed --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) 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"