mirror of
https://github.com/Leseratte10/acsm-calibre-plugin.git
synced 2024-12-22 09:19:55 +06: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:
parent
7f89a9c6d1
commit
27bd9531c4
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -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 ..
|
||||
|
Loading…
Reference in New Issue
Block a user