File tree Expand file tree Collapse file tree 6 files changed +327
-3
lines changed
Expand file tree Collapse file tree 6 files changed +327
-3
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,22 @@ jobs:
1919
2020 lint-checks :
2121 needs : pre_job
22- name : Make requirements and lint check on Python3.10
22+ name : Make requirements and lint checks
2323 runs-on : ubuntu-22.04
24+ strategy :
25+ matrix :
26+ python-version : ["3.8", "3.9", "3.10", "3.11"]
2427 steps :
2528 - name : Checkout st2tests repository
2629 uses : actions/checkout@v2
2730 - name : Checkout st2 repository
2831 uses : actions/checkout@v2
2932 with :
3033 repository : " StackStorm/st2"
31- - name : Set up Python3.10
34+ - name : " Set up Python ${{ matrix.python-version }} "
3235 uses : actions/setup-python@v4
3336 with :
34- python-version : ' 3.10.12 '
37+ python-version : " ${{ matrix.python-version }} "
3538 - name : Install apt dependencies
3639 run : |
3740 sudo apt install -y libldap2-dev libsasl2-dev
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ space_char +=
1414comma := ,
1515COMPONENT_PYTHONPATH = $(subst $(space_char ) ,:,$(realpath $(COMPONENTS ) ) )
1616
17+ # Extract the Python major/minor version to target the correct test requirements file.
1718PYTHON_VERSION := $(shell python3 --version | sed -r 's/.* ([[0-9]+\.[0-9]+) \.[0-9]+.*/\1/g')
1819REQUIREMENTS := test-requirements-$(PYTHON_VERSION ) .txt requirements.txt
1920# Grab the version of pip from the Makefile in the st2 repository
Original file line number Diff line number Diff line change 1+ #
2+ # This file is autogenerated by pip-compile with Python 3.10
3+ # by the following command:
4+ #
5+ # pip-compile --output-file=/root/workspace/st2tests/test-requirements-3.10.txt /root/workspace/st2tests/test-requirements.in
6+ #
7+ aiohappyeyeballs==2.6.1
8+ # via aiohttp
9+ aiohttp==3.12.15
10+ # via slackclient
11+ aiosignal==1.4.0
12+ # via aiohttp
13+ astroid==3.1.0
14+ # via pylint
15+ async-timeout==5.0.1
16+ # via aiohttp
17+ attrs==25.3.0
18+ # via
19+ # aiohttp
20+ # pytest
21+ dill==0.4.0
22+ # via pylint
23+ flake8==7.0.0
24+ # via -r /root/workspace/st2tests/test-requirements.in
25+ frozenlist==1.7.0
26+ # via
27+ # aiohttp
28+ # aiosignal
29+ idna==3.10
30+ # via yarl
31+ iniconfig==2.1.0
32+ # via pytest
33+ isort==5.13.2
34+ # via pylint
35+ mccabe==0.7.0
36+ # via
37+ # flake8
38+ # pylint
39+ multidict==6.6.4
40+ # via
41+ # aiohttp
42+ # yarl
43+ packaging==25.0
44+ # via pytest
45+ platformdirs==4.3.8
46+ # via pylint
47+ pluggy==1.6.0
48+ # via pytest
49+ propcache==0.3.2
50+ # via
51+ # aiohttp
52+ # yarl
53+ py==1.11.0
54+ # via pytest
55+ pycodestyle==2.11.1
56+ # via flake8
57+ pyflakes==3.2.0
58+ # via flake8
59+ pylint==3.1.1
60+ # via -r /root/workspace/st2tests/test-requirements.in
61+ pytest==7.0.1
62+ # via -r /root/workspace/st2tests/test-requirements.in
63+ slackclient==2.9.4
64+ # via -r /root/workspace/st2tests/test-requirements.in
65+ tomli==2.2.1
66+ # via
67+ # pylint
68+ # pytest
69+ tomlkit==0.13.3
70+ # via pylint
71+ typing-extensions==4.14.1
72+ # via
73+ # aiosignal
74+ # astroid
75+ # multidict
76+ wheel==0.45.1
77+ # via -r /root/workspace/st2tests/test-requirements.in
78+ yarl==1.20.1
79+ # via aiohttp
80+
81+ # The following packages are considered to be unsafe in a requirements file:
82+ # setuptools
Original file line number Diff line number Diff line change 1+ #
2+ # This file is autogenerated by pip-compile with Python 3.11
3+ # by the following command:
4+ #
5+ # pip-compile --output-file=/root/workspace/st2tests/test-requirements-3.11.txt /root/workspace/st2tests/test-requirements.in
6+ #
7+ aiohappyeyeballs==2.6.1
8+ # via aiohttp
9+ aiohttp==3.12.15
10+ # via slackclient
11+ aiosignal==1.4.0
12+ # via aiohttp
13+ astroid==3.1.0
14+ # via pylint
15+ attrs==25.3.0
16+ # via
17+ # aiohttp
18+ # pytest
19+ dill==0.4.0
20+ # via pylint
21+ flake8==7.0.0
22+ # via -r /root/workspace/st2tests/test-requirements.in
23+ frozenlist==1.7.0
24+ # via
25+ # aiohttp
26+ # aiosignal
27+ idna==3.10
28+ # via yarl
29+ iniconfig==2.1.0
30+ # via pytest
31+ isort==5.13.2
32+ # via pylint
33+ mccabe==0.7.0
34+ # via
35+ # flake8
36+ # pylint
37+ multidict==6.6.4
38+ # via
39+ # aiohttp
40+ # yarl
41+ packaging==25.0
42+ # via pytest
43+ platformdirs==4.3.8
44+ # via pylint
45+ pluggy==1.6.0
46+ # via pytest
47+ propcache==0.3.2
48+ # via
49+ # aiohttp
50+ # yarl
51+ py==1.11.0
52+ # via pytest
53+ pycodestyle==2.11.1
54+ # via flake8
55+ pyflakes==3.2.0
56+ # via flake8
57+ pylint==3.1.1
58+ # via -r /root/workspace/st2tests/test-requirements.in
59+ pytest==7.0.1
60+ # via -r /root/workspace/st2tests/test-requirements.in
61+ slackclient==2.9.4
62+ # via -r /root/workspace/st2tests/test-requirements.in
63+ tomli==2.2.1
64+ # via pytest
65+ tomlkit==0.13.3
66+ # via pylint
67+ typing-extensions==4.14.1
68+ # via aiosignal
69+ wheel==0.45.1
70+ # via -r /root/workspace/st2tests/test-requirements.in
71+ yarl==1.20.1
72+ # via aiohttp
73+
74+ # The following packages are considered to be unsafe in a requirements file:
75+ # setuptools
Original file line number Diff line number Diff line change 1+ #
2+ # This file is autogenerated by pip-compile with Python 3.8
3+ # by the following command:
4+ #
5+ # pip-compile --output-file=/root/workspace/st2tests/test-requirements-3.8.txt /root/workspace/st2tests/test-requirements.in
6+ #
7+ aiohappyeyeballs==2.4.4
8+ # via aiohttp
9+ aiohttp==3.10.11
10+ # via slackclient
11+ aiosignal==1.3.1
12+ # via aiohttp
13+ astroid==3.1.0
14+ # via pylint
15+ async-timeout==5.0.1
16+ # via aiohttp
17+ attrs==25.3.0
18+ # via
19+ # aiohttp
20+ # pytest
21+ dill==0.4.0
22+ # via pylint
23+ flake8==7.0.0
24+ # via -r /root/workspace/st2tests/test-requirements.in
25+ frozenlist==1.5.0
26+ # via
27+ # aiohttp
28+ # aiosignal
29+ idna==3.10
30+ # via yarl
31+ iniconfig==2.1.0
32+ # via pytest
33+ isort==5.13.2
34+ # via pylint
35+ mccabe==0.7.0
36+ # via
37+ # flake8
38+ # pylint
39+ multidict==6.1.0
40+ # via
41+ # aiohttp
42+ # yarl
43+ packaging==25.0
44+ # via pytest
45+ platformdirs==4.3.6
46+ # via pylint
47+ pluggy==1.5.0
48+ # via pytest
49+ propcache==0.2.0
50+ # via yarl
51+ py==1.11.0
52+ # via pytest
53+ pycodestyle==2.11.1
54+ # via flake8
55+ pyflakes==3.2.0
56+ # via flake8
57+ pylint==3.1.1
58+ # via -r /root/workspace/st2tests/test-requirements.in
59+ pytest==7.0.1
60+ # via -r /root/workspace/st2tests/test-requirements.in
61+ slackclient==2.9.4
62+ # via -r /root/workspace/st2tests/test-requirements.in
63+ tomli==2.2.1
64+ # via
65+ # pylint
66+ # pytest
67+ tomlkit==0.13.3
68+ # via pylint
69+ typing-extensions==4.13.2
70+ # via
71+ # astroid
72+ # multidict
73+ # pylint
74+ wheel==0.45.1
75+ # via -r /root/workspace/st2tests/test-requirements.in
76+ yarl==1.15.2
77+ # via aiohttp
78+
79+ # The following packages are considered to be unsafe in a requirements file:
80+ # setuptools
Original file line number Diff line number Diff line change 1+ #
2+ # This file is autogenerated by pip-compile with Python 3.9
3+ # by the following command:
4+ #
5+ # pip-compile --output-file=/root/workspace/st2tests/test-requirements-3.9.txt /root/workspace/st2tests/test-requirements.in
6+ #
7+ aiohappyeyeballs==2.6.1
8+ # via aiohttp
9+ aiohttp==3.12.15
10+ # via slackclient
11+ aiosignal==1.4.0
12+ # via aiohttp
13+ astroid==3.1.0
14+ # via pylint
15+ async-timeout==5.0.1
16+ # via aiohttp
17+ attrs==25.3.0
18+ # via
19+ # aiohttp
20+ # pytest
21+ dill==0.4.0
22+ # via pylint
23+ flake8==7.0.0
24+ # via -r /root/workspace/st2tests/test-requirements.in
25+ frozenlist==1.7.0
26+ # via
27+ # aiohttp
28+ # aiosignal
29+ idna==3.10
30+ # via yarl
31+ iniconfig==2.1.0
32+ # via pytest
33+ isort==5.13.2
34+ # via pylint
35+ mccabe==0.7.0
36+ # via
37+ # flake8
38+ # pylint
39+ multidict==6.6.4
40+ # via
41+ # aiohttp
42+ # yarl
43+ packaging==25.0
44+ # via pytest
45+ platformdirs==4.3.8
46+ # via pylint
47+ pluggy==1.6.0
48+ # via pytest
49+ propcache==0.3.2
50+ # via
51+ # aiohttp
52+ # yarl
53+ py==1.11.0
54+ # via pytest
55+ pycodestyle==2.11.1
56+ # via flake8
57+ pyflakes==3.2.0
58+ # via flake8
59+ pylint==3.1.1
60+ # via -r /root/workspace/st2tests/test-requirements.in
61+ pytest==7.0.1
62+ # via -r /root/workspace/st2tests/test-requirements.in
63+ slackclient==2.9.4
64+ # via -r /root/workspace/st2tests/test-requirements.in
65+ tomli==2.2.1
66+ # via
67+ # pylint
68+ # pytest
69+ tomlkit==0.13.3
70+ # via pylint
71+ typing-extensions==4.14.1
72+ # via
73+ # aiosignal
74+ # astroid
75+ # multidict
76+ # pylint
77+ wheel==0.45.1
78+ # via -r /root/workspace/st2tests/test-requirements.in
79+ yarl==1.20.1
80+ # via aiohttp
81+
82+ # The following packages are considered to be unsafe in a requirements file:
83+ # setuptools
You can’t perform that action at this time.
0 commit comments