Commit cb50f461 authored by Guido Gunther's avatar Guido Gunther

gitlab-ci: Add test using modules from pypi

parent ee512e08
......@@ -39,7 +39,7 @@ build:deb:
paths:
- '*.deb'
test:download:
test:download:deb:
<<: *tags
stage: test
before_script:
......@@ -51,3 +51,18 @@ test:download:
- ls -l download/devkit.img download/flash_devkit.lst download/u-boot-devkit-recovery.imx
- rm -rf download
test:download:pip:
<<: *tags
stage: test
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get -y update
- apt-get -y install virtualenv python3-pip
script:
- virtualenv --python=python3 test-download
- source test-download/bin/activate
- pip install -r requirements.txt
- python3 scripts/librem5-devkit-flash-image --skip-flash --skip-cleanup --dir=download/
- ls -l download/devkit.img download/flash_devkit.lst download/u-boot-devkit-recovery.imx
- rm -rf download
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment