Skip to content

Commit

Permalink
fix(ci): the support for python 2.7 was removed on June 19, 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
tgragnato committed Jun 26, 2024
1 parent 8014e30 commit 4b6590a
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,6 @@ on:
- master

jobs:
test-py2:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Python environment
uses: actions/setup-python@v5
with:
python-version: 2.7
architecture: x64

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install mock pycodestyle pytest
echo "PYTHONPATH=/opt/hostedtoolcache/Python/2.7.18/x64/lib/python2.7/site-packages" >> $GITHUB_ENV
sudo ln -sf $(which python) /usr/bin/python2
- name: Run tests
run: |
py.test haproxy_test.py
- name: Run codestyle check
run: |
pycodestyle *.py
test-py3:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 4b6590a

Please sign in to comment.