Skip to content

Commit 3518be1

Browse files
Drop python2 tests
1 parent fd3c3f9 commit 3518be1

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ jobs:
99
strategy:
1010
matrix:
1111
include:
12-
- python-version: "2.7"
13-
toxenv: py27-core
1412
- python-version: "3.9"
1513
toxenv: py39-core
1614
- python-version: "3.10"
@@ -21,8 +19,6 @@ jobs:
2119
toxenv: py312-core
2220
- python-version: "3.13"
2321
toxenv: py313-core
24-
- python-version: "2.7"
25-
toxenv: py27-django111
2622
- python-version: "3.9"
2723
toxenv: py39-django32
2824
- python-version: "3.10"
@@ -39,22 +35,9 @@ jobs:
3935

4036
- name: Setup Python
4137
uses: actions/setup-python@v5
42-
if: matrix.python-version != '2.7'
4338
with:
4439
python-version: ${{ matrix.python-version }}
4540

46-
- name: Install Python 2.7 and set as default
47-
if: matrix.python-version == '2.7'
48-
run: |
49-
sudo apt-get update
50-
sudo apt-get install -y python2 curl
51-
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
52-
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
53-
sudo python get-pip.py
54-
sudo ln -sf /usr/local/bin/pip2 /usr/bin/pip || true
55-
python --version
56-
pip --version
57-
5841
- name: Install dependencies
5942
run: |
6043
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)