fix tox tests
This commit is contained in:
parent
417aca8aae
commit
70f82c6a12
2 changed files with 24 additions and 19 deletions
|
@ -26,22 +26,22 @@ pipeline:
|
|||
commands:
|
||||
- hatch build
|
||||
|
||||
# # test code with different python versions - amd64
|
||||
# test-tox-amd64:
|
||||
# when:
|
||||
# branch: master
|
||||
# event: pull_request
|
||||
# image: cr.44net.ch/ci-plugins/tests:1-linux-amd64
|
||||
# pull: true
|
||||
# commands:
|
||||
# - tox
|
||||
#
|
||||
# # test code with different python versions - arm64
|
||||
# test-tox-arm64:
|
||||
# when:
|
||||
# branch: master
|
||||
# event: pull_request
|
||||
# image: cr.44net.ch/ci-plugins/tests:1-linux-arm64
|
||||
# pull: true
|
||||
# commands:
|
||||
# - tox
|
||||
# test code with different python versions - amd64
|
||||
test-tox-amd64:
|
||||
when:
|
||||
branch: master
|
||||
event: pull_request
|
||||
image: cr.44net.ch/ci-plugins/multipy:1-linux-amd64
|
||||
pull: true
|
||||
commands:
|
||||
- tox
|
||||
|
||||
# test code with different python versions - arm64
|
||||
test-tox-arm64:
|
||||
when:
|
||||
branch: master
|
||||
event: pull_request
|
||||
image: cr.44net.ch/ci-plugins/multipy:1-linux-arm64
|
||||
pull: true
|
||||
commands:
|
||||
- tox
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import os
|
||||
import platform
|
||||
import shutil
|
||||
from pathlib import Path
|
||||
|
||||
|
@ -46,6 +47,10 @@ def test_full_with_input_cbz():
|
|||
|
||||
|
||||
def test_full_with_input_pdf():
|
||||
# check if its arm64, if yes skip this step
|
||||
if platform.machine() != "x86_64":
|
||||
return True
|
||||
|
||||
url_uuid = "https://mangadex.org/title/0aea9f43-d4a9-4bf7-bebc-550a512f9b95/shikimori-s-not-just-a-cutie"
|
||||
language = "en"
|
||||
chapters = "1"
|
||||
|
|
Loading…
Reference in a new issue