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:
|
commands:
|
||||||
- hatch build
|
- hatch build
|
||||||
|
|
||||||
# # test code with different python versions - amd64
|
# test code with different python versions - amd64
|
||||||
# test-tox-amd64:
|
test-tox-amd64:
|
||||||
# when:
|
when:
|
||||||
# branch: master
|
branch: master
|
||||||
# event: pull_request
|
event: pull_request
|
||||||
# image: cr.44net.ch/ci-plugins/tests:1-linux-amd64
|
image: cr.44net.ch/ci-plugins/multipy:1-linux-amd64
|
||||||
# pull: true
|
pull: true
|
||||||
# commands:
|
commands:
|
||||||
# - tox
|
- tox
|
||||||
#
|
|
||||||
# # test code with different python versions - arm64
|
# test code with different python versions - arm64
|
||||||
# test-tox-arm64:
|
test-tox-arm64:
|
||||||
# when:
|
when:
|
||||||
# branch: master
|
branch: master
|
||||||
# event: pull_request
|
event: pull_request
|
||||||
# image: cr.44net.ch/ci-plugins/tests:1-linux-arm64
|
image: cr.44net.ch/ci-plugins/multipy:1-linux-arm64
|
||||||
# pull: true
|
pull: true
|
||||||
# commands:
|
commands:
|
||||||
# - tox
|
- tox
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import os
|
import os
|
||||||
|
import platform
|
||||||
import shutil
|
import shutil
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
@ -46,6 +47,10 @@ def test_full_with_input_cbz():
|
||||||
|
|
||||||
|
|
||||||
def test_full_with_input_pdf():
|
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"
|
url_uuid = "https://mangadex.org/title/0aea9f43-d4a9-4bf7-bebc-550a512f9b95/shikimori-s-not-just-a-cutie"
|
||||||
language = "en"
|
language = "en"
|
||||||
chapters = "1"
|
chapters = "1"
|
||||||
|
|
Loading…
Reference in a new issue