mirror of
https://github.com/Leseratte10/acsm-calibre-plugin.git
synced 2024-12-22 17:29:56 +06:00
Try to get rid of failing CI
This commit is contained in:
parent
999354dde9
commit
6a53617fde
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -57,6 +57,8 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
id: pip-stuff
|
||||||
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
# Require cryptography >= 3.1 because in 3.0 and below, the backend param in load_key_and_certificates was still required.
|
# Require cryptography >= 3.1 because in 3.0 and below, the backend param in load_key_and_certificates was still required.
|
||||||
# Require oscrypto > 1.3.0 because all versions until 1.3.0 had no (or broken) OpenSSL 3 support.
|
# Require oscrypto > 1.3.0 because all versions until 1.3.0 had no (or broken) OpenSSL 3 support.
|
||||||
@ -68,10 +70,12 @@ jobs:
|
|||||||
pip2 --no-python-version-warning install freezegun mock lxml pycryptodome "rsa<=4.3" "oscrypto>1.3.0" cryptography==3.1
|
pip2 --no-python-version-warning install freezegun mock lxml pycryptodome "rsa<=4.3" "oscrypto>1.3.0" cryptography==3.1
|
||||||
|
|
||||||
- name: Run tests (Python 3)
|
- name: Run tests (Python 3)
|
||||||
|
if: steps.pip-stuff.outcome == 'success' && steps.pip-stuff.conclusion == 'success'
|
||||||
run: |
|
run: |
|
||||||
cd tests && python3 ./main.py && cd ..
|
cd tests && python3 ./main.py && cd ..
|
||||||
|
|
||||||
- name: Run tests (Python 2)
|
- name: Run tests (Python 2)
|
||||||
|
if: steps.pip-stuff.outcome == 'success' && steps.pip-stuff.conclusion == 'success'
|
||||||
run: |
|
run: |
|
||||||
cd tests && PYTHONWARNINGS=ignore python2 ./main.py && cd ..
|
cd tests && PYTHONWARNINGS=ignore python2 ./main.py && cd ..
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user