Skip to content

Commit

Permalink
Remove CI for python2 tests for MacOS.
Browse files Browse the repository at this point in the history
macos-11 image is deprecated and will be removed next month,
macos-12 image doesn't have python2,
and actions/setup-python has removed python2 as well.

No longer running tests on MacOS on Python2.
  • Loading branch information
Leseratte10 committed May 12, 2024
1 parent 7f89a9c commit 27bd953
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,18 +167,3 @@ jobs:
- name: Run tests (Python 3)
run: |
cd tests && python3 ./main.py && cd ..
- name: Set up Python 2
uses: actions/setup-python@v5
with:
python-version: "2.7"

- name: Install dependencies
run: |
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
python2 get-pip.py
python2 -m pip --no-python-version-warning install -r ./.github/workflows/ci_test_requirements.txt
- name: Run tests (Python 2)
run: |
cd tests && PYTHONWARNINGS=ignore python2 ./main.py && cd ..

0 comments on commit 27bd953

Please sign in to comment.