diff --git a/.woodpecker/test_build.yml b/.woodpecker/test_build.yml index 74111b4..b33921b 100644 --- a/.woodpecker/test_build.yml +++ b/.woodpecker/test_build.yml @@ -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 diff --git a/tests/test_21_full.py b/tests/test_21_full.py index 5b2f798..1862201 100644 --- a/tests/test_21_full.py +++ b/tests/test_21_full.py @@ -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"