summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-04-15 22:31:09 +0200
committerjaseg <git@jaseg.de>2023-04-15 22:31:09 +0200
commit2eefb9cc7dc341cd7c350392a2e5b43f97669969 (patch)
tree1d23b5dd1fdeb614a5bf6b378bd2955985363659 /.gitlab-ci.yml
parent5c7bfb2744429a3ea311c68fb9fa269f155c5ed9 (diff)
downloadgerbonara-2eefb9cc7dc341cd7c350392a2e5b43f97669969.tar.gz
gerbonara-2eefb9cc7dc341cd7c350392a2e5b43f97669969.tar.bz2
gerbonara-2eefb9cc7dc341cd7c350392a2e5b43f97669969.zip
ci: Clone kicad libraries for tests
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c47d156..1cb51ee 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,7 +25,9 @@ test:archlinux:
stage: test
image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest"
script:
- - pytest -o 'testpaths=gerbonara/tests' -o 'norecursedirs=*'
+ - 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:
@@ -44,7 +46,9 @@ test:ubuntu2204:
image: "registry.gitlab.com/gerbolyze/build-containers/ubuntu:22.04"
script:
- python3 -m pip install pytest beautifulsoup4 pillow numpy slugify lxml click scipy
- - python3 -m pytest -o 'testpaths=gerbonara/tests' -o 'norecursedirs=*'
+ - 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: