diff options
author | jaseg <git@jaseg.de> | 2023-10-27 14:28:19 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-10-27 14:40:50 +0200 |
commit | 165e101dda1087d997c93650077b298154986f08 (patch) | |
tree | ac1ebec199010d58bd6ea0e08460ce745f9311f4 /.gitlab-ci.yml | |
parent | 187c44555cb2c544587b9b17d4f8038b3a692beb (diff) | |
download | gerbonara-165e101dda1087d997c93650077b298154986f08.tar.gz gerbonara-165e101dda1087d997c93650077b298154986f08.tar.bz2 gerbonara-165e101dda1087d997c93650077b298154986f08.zip |
ci: Disable tests for now, since upstream kicad-cli is broken.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 82 |
1 files changed, 42 insertions, 40 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23c8e5c..04cd47e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,46 +21,48 @@ build:archlinux: paths: - dist/* -test:archlinux: - stage: test - image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest" - script: - - git clone --depth 1 https://gitlab.com/kicad/libraries/kicad-symbols - - git clone --depth 1 https://gitlab.com/kicad/libraries/kicad-footprints - - env KICAD_SYMBOLS=kicad-symbols KICAD_FOOTPRINTS=kicad-footprints pytest -o 'testpaths=gerbonara/tests' -o 'norecursedirs=*' - dependencies: - - build:archlinux - cache: - key: test-image-cache - paths: - - gerbonara/tests/image_cache/*.svg - - gerbonara/tests/image_cache/*.png - artifacts: - name: "gerbolyze-$CI_COMMIT_REF_NAME-gerbonara" - when: on_failure - paths: - - gerbonara_test_failures/* - -test:ubuntu-rolling: - stage: test - image: "registry.gitlab.com/gerbolyze/build-containers/ubuntu:rolling" - script: - - python3 -m pip install --break-system-packages pytest beautifulsoup4 pillow numpy slugify lxml click scipy - - git clone --depth 1 https://gitlab.com/kicad/libraries/kicad-symbols - - git clone --depth 1 https://gitlab.com/kicad/libraries/kicad-footprints - - env KICAD_SYMBOLS=kicad-symbols KICAD_FOOTPRINTS=kicad-footprints python3 -m pytest -o 'testpaths=gerbonara/tests' -o 'norecursedirs=*' - dependencies: - - build:archlinux - cache: - key: test-image-cache - paths: - - gerbonara/tests/image_cache/*.svg - - gerbonara/tests/image_cache/*.png - artifacts: - name: "gerbolyze-$CI_COMMIT_REF_NAME-gerbonara" - when: on_failure - paths: - - gerbonara_test_failures/* +# FIXME: disable tests since (a) currenty kicad-cli is broken (aborts on start), and the workaround of using an older +# version from the KiCad project's kicad-cli containers does not work in gitlab CI. Pain. +#test:archlinux: +# stage: test +# image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest" +# script: +# - git clone --depth 1 https://gitlab.com/kicad/libraries/kicad-symbols +# - git clone --depth 1 https://gitlab.com/kicad/libraries/kicad-footprints +# - env KICAD_SYMBOLS=kicad-symbols KICAD_FOOTPRINTS=kicad-footprints pytest -o 'testpaths=gerbonara/tests' -o 'norecursedirs=*' +# dependencies: +# - build:archlinux +# cache: +# key: test-image-cache +# paths: +# - gerbonara/tests/image_cache/*.svg +# - gerbonara/tests/image_cache/*.png +# artifacts: +# name: "gerbolyze-$CI_COMMIT_REF_NAME-gerbonara" +# when: on_failure +# paths: +# - gerbonara_test_failures/* +# +#test:ubuntu-rolling: +# stage: test +# image: "registry.gitlab.com/gerbolyze/build-containers/ubuntu:rolling" +# script: +# - python3 -m pip install --break-system-packages pytest beautifulsoup4 pillow numpy slugify lxml click scipy +# - git clone --depth 1 https://gitlab.com/kicad/libraries/kicad-symbols +# - git clone --depth 1 https://gitlab.com/kicad/libraries/kicad-footprints +# - env KICAD_SYMBOLS=kicad-symbols KICAD_FOOTPRINTS=kicad-footprints python3 -m pytest -o 'testpaths=gerbonara/tests' -o 'norecursedirs=*' +# dependencies: +# - build:archlinux +# cache: +# key: test-image-cache +# paths: +# - gerbonara/tests/image_cache/*.svg +# - gerbonara/tests/image_cache/*.png +# artifacts: +# name: "gerbolyze-$CI_COMMIT_REF_NAME-gerbonara" +# when: on_failure +# paths: +# - gerbonara_test_failures/* docs:archlinux: stage: test |