@@ -26,93 +26,12 @@ jobs:
2626 - name : Run the end-to-end tests
2727 run : TOXENV=py27 END_TO_END=1 tox
2828
29- tests_py34 :
30- runs-on : ubuntu-24.04
31- strategy :
32- fail-fast : false
33-
34- steps :
35- - uses : actions/checkout@v4
36-
37- - name : Build OpenSSL 1.0.2 (required by Python 3.4)
38- run : |
39- sudo apt-get install build-essential zlib1g-dev
40-
41- cd $RUNNER_TEMP
42- wget https://github.com/openssl/openssl/releases/download/OpenSSL_1_0_2u/openssl-1.0.2u.tar.gz
43- tar -xf openssl-1.0.2u.tar.gz
44- cd openssl-1.0.2u
45- ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib-dynamic
46- make
47- sudo make install
48-
49- echo CFLAGS="-I/usr/local/ssl/include $CFLAGS" >> $GITHUB_ENV
50- echo LDFLAGS="-L/usr/local/ssl/lib $LDFLAGS" >> $GITHUB_ENV
51- echo LD_LIBRARY_PATH="/usr/local/ssl/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
52-
53- sudo ln -s /usr/local/ssl/lib/libssl.so.1.0.0 /usr/lib/libssl.so.1.0.0
54- sudo ln -s /usr/local/ssl/lib/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.1.0.0
55- sudo ldconfig
56-
57- - name : Build Python 3.4
58- run : |
59- sudo apt-get install build-essential libncurses5-dev libgdbm-dev libnss3-dev libreadline-dev zlib1g-dev
60-
61- cd $RUNNER_TEMP
62- wget -O cpython-3.4.10.zip https://github.com/python/cpython/archive/refs/tags/v3.4.10.zip
63- unzip cpython-3.4.10.zip
64- cd cpython-3.4.10
65- ./configure
66- make
67- sudo make install
68-
69- python3.4 --version
70- python3.4 -c 'import ssl'
71-
72- - name : Install dependencies
73- run : $PIP install virtualenv==20.4.7 tox==3.28.0
74-
75- - name : Run the unit tests
76- run : TOXENV=py34 tox
77-
78- - name : Run the end-to-end tests
79- run : TOXENV=py34 END_TO_END=1 tox
80-
81- tests_py35 :
82- runs-on : ubuntu-24.04
83- strategy :
84- fail-fast : false
85-
86- steps :
87- - uses : actions/checkout@v4
88-
89- - name : Work around pip SSL cert verify error
90- run : sudo $PIP config set global.trusted-host 'pypi.python.org pypi.org files.pythonhosted.org'
91-
92- - name : Set up Python 3.5
93- uses : actions/setup-python@v5
94- with :
95- python-version : 3.5
96-
97- - name : Install dependencies
98- run : $PIP install virtualenv tox
99-
100- - name : Set variable for TOXENV based on Python version
101- id : toxenv
102- run : python -c 'import sys; print("TOXENV=py%d%d" % (sys.version_info.major, sys.version_info.minor))' | tee -a $GITHUB_OUTPUT
103-
104- - name : Run the unit tests
105- run : TOXENV=${{steps.toxenv.outputs.TOXENV}} tox
106-
107- - name : Run the end-to-end tests
108- run : TOXENV=${{steps.toxenv.outputs.TOXENV}} END_TO_END=1 tox
109-
11029 tests_py3x :
11130 runs-on : ubuntu-24.04
11231 strategy :
11332 fail-fast : false
11433 matrix :
115- python-version : [3.6, 3. 7, 3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
34+ python-version : [3.7, 3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
11635
11736 steps :
11837 - uses : actions/checkout@v4
0 commit comments