@@ -2,7 +2,7 @@ name: Run all the unit tests
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request :
77
88jobs :
@@ -11,64 +11,64 @@ jobs:
1111 timeout-minutes : 10
1212 strategy :
1313 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" ]
1515 env :
1616 # default: multiprocessing
1717 # threading is more stable on GitHub Actions
1818 BOLT_PYTHON_MOCK_SERVER_MODE : threading
1919 steps :
20- - uses : actions/checkout@v2
21- - name : Set up Python ${{ matrix.python-version }}
22- uses : actions/setup-python@v2
23- with :
24- python-version : ${{ matrix.python-version }}
25- - name : Install dependencies
26- run : |
27- python setup.py install
28- pip install -U pip
29- pip install -e ".[testing_without_asyncio]"
30- - name : Run tests without aiohttp
31- run : |
32- pytest tests/slack_bolt/
33- pytest tests/scenario_tests/
34- - name : Run tests for Socket Mode adapters
35- run : |
36- pip install -e ".[adapter]"
37- pip install -e ".[adapter_testing]"
38- pytest tests/adapter_tests/socket_mode/
39- - name : Run tests for HTTP Mode adapters (AWS)
40- run : |
41- pytest tests/adapter_tests/aws/
42- - name : Run tests for HTTP Mode adapters (Bottle)
43- run : |
44- pytest tests/adapter_tests/bottle/
45- - name : Run tests for HTTP Mode adapters (CherryPy)
46- run : |
47- pytest tests/adapter_tests/cherrypy/
48- - name : Run tests for HTTP Mode adapters (Django)
49- run : |
50- pytest tests/adapter_tests/django/
51- - name : Run tests for HTTP Mode adapters (Falcon 3.x)
52- run : |
53- pytest tests/adapter_tests/falcon/
54- - name : Run tests for HTTP Mode adapters (Falcon 2.x)
55- run : |
56- pip install "falcon<3"
57- pytest tests/adapter_tests/falcon/
58- - name : Run tests for HTTP Mode adapters (Flask)
59- run : |
60- pytest tests/adapter_tests/flask/
61- - name : Run tests for HTTP Mode adapters (Pyramid)
62- run : |
63- pytest tests/adapter_tests/pyramid/
64- - name : Run tests for HTTP Mode adapters (Starlette)
65- run : |
66- pytest tests/adapter_tests/starlette/
67- - name : Run tests for HTTP Mode adapters (Tornado)
68- run : |
69- pytest tests/adapter_tests/tornado/
70- - name : Run tests for HTTP Mode adapters (asyncio-based libraries)
71- run : |
72- pip install -e ".[async]"
73- pip install "falcon>=3,<4"
74- pytest tests/adapter_tests_async/
20+ - uses : actions/checkout@v3
21+ - name : Set up Python ${{ matrix.python-version }}
22+ uses : actions/setup-python@v4
23+ with :
24+ python-version : ${{ matrix.python-version }}
25+ - name : Install dependencies
26+ run : |
27+ python setup.py install
28+ pip install -U pip
29+ pip install -e ".[testing_without_asyncio]"
30+ - name : Run tests without aiohttp
31+ run : |
32+ pytest tests/slack_bolt/
33+ pytest tests/scenario_tests/
34+ - name : Run tests for Socket Mode adapters
35+ run : |
36+ pip install -e ".[adapter]"
37+ pip install -e ".[adapter_testing]"
38+ pytest tests/adapter_tests/socket_mode/
39+ - name : Run tests for HTTP Mode adapters (AWS)
40+ run : |
41+ pytest tests/adapter_tests/aws/
42+ - name : Run tests for HTTP Mode adapters (Bottle)
43+ run : |
44+ pytest tests/adapter_tests/bottle/
45+ - name : Run tests for HTTP Mode adapters (CherryPy)
46+ run : |
47+ pytest tests/adapter_tests/cherrypy/
48+ - name : Run tests for HTTP Mode adapters (Django)
49+ run : |
50+ pytest tests/adapter_tests/django/
51+ - name : Run tests for HTTP Mode adapters (Falcon 3.x)
52+ run : |
53+ pytest tests/adapter_tests/falcon/
54+ - name : Run tests for HTTP Mode adapters (Falcon 2.x)
55+ run : |
56+ pip install "falcon<3"
57+ pytest tests/adapter_tests/falcon/
58+ - name : Run tests for HTTP Mode adapters (Flask)
59+ run : |
60+ pytest tests/adapter_tests/flask/
61+ - name : Run tests for HTTP Mode adapters (Pyramid)
62+ run : |
63+ pytest tests/adapter_tests/pyramid/
64+ - name : Run tests for HTTP Mode adapters (Starlette)
65+ run : |
66+ pytest tests/adapter_tests/starlette/
67+ - name : Run tests for HTTP Mode adapters (Tornado)
68+ run : |
69+ pytest tests/adapter_tests/tornado/
70+ - name : Run tests for HTTP Mode adapters (asyncio-based libraries)
71+ run : |
72+ pip install -e ".[async]"
73+ pip install "falcon>=3,<4"
74+ pytest tests/adapter_tests_async/
0 commit comments