|
11 | 11 | timeout-minutes: 10 |
12 | 12 | strategy: |
13 | 13 | matrix: |
14 | | - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] |
| 14 | + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] |
15 | 15 | env: |
16 | 16 | # default: multiprocessing |
17 | 17 | # threading is more stable on GitHub Actions |
@@ -48,13 +48,19 @@ jobs: |
48 | 48 | - name: Run tests for HTTP Mode adapters (Django) |
49 | 49 | run: | |
50 | 50 | pytest tests/adapter_tests/django/ |
| 51 | + # TODO: Enable testing with Falcon 4.x + Python 3.11 |
| 52 | + # See also: https://github.com/slackapi/bolt-python/issues/757 |
51 | 53 | - name: Run tests for HTTP Mode adapters (Falcon 3.x) |
52 | 54 | run: | |
53 | | - pytest tests/adapter_tests/falcon/ |
| 55 | + if [ ${{ matrix.python-version }} != "3.11" ]; then |
| 56 | + pytest tests/adapter_tests/falcon/ |
| 57 | + fi |
54 | 58 | - name: Run tests for HTTP Mode adapters (Falcon 2.x) |
55 | 59 | run: | |
56 | | - pip install "falcon<3" |
57 | | - pytest tests/adapter_tests/falcon/ |
| 60 | + if [ ${{ matrix.python-version }} != "3.11" ]; then |
| 61 | + pip install "falcon<3" |
| 62 | + pytest tests/adapter_tests/falcon/ |
| 63 | + fi |
58 | 64 | - name: Run tests for HTTP Mode adapters (Flask) |
59 | 65 | run: | |
60 | 66 | pytest tests/adapter_tests/flask/ |
|
71 | 77 | run: | |
72 | 78 | pip install -e ".[async]" |
73 | 79 | pip install "falcon>=3,<4" |
| 80 | + if [ ${{ matrix.python-version }} == "3.11" ]; then |
| 81 | + # TODO: Enable testing with Falcon 4.x + Python 3.11 |
| 82 | + # See also: https://github.com/slackapi/bolt-python/issues/757 |
| 83 | + rm -f tests/adapter_tests_async/test_async_falcon.py |
| 84 | + fi |
74 | 85 | pytest tests/adapter_tests_async/ |
0 commit comments