From 27bd9531c44f9896e4ade81c768c12e393e51e9a Mon Sep 17 00:00:00 2001 From: Florian Bach Date: Sun, 12 May 2024 11:29:05 +0200 Subject: [PATCH] Remove CI for python2 tests for MacOS. 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. --- .github/workflows/main.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 145d6fa..004520b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 ..