mirror of
https://github.com/Leseratte10/acsm-calibre-plugin
synced 2026-08-17 04:31:42 -04:00
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.
This commit is contained in:
@@ -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 ..
|
||||
|
||||
Reference in New Issue
Block a user