Commit 777907e5 authored by Jgiannelos's avatar Jgiannelos
Browse files

Merge branch 'test-ci' into 'main'

Add CI for running test suite

See merge request !1
parents 18280568 e947a853
Pipeline #371 passed with stages
in 2 minutes and 18 seconds
stages:
- lint
- test
- package
lint:
stage: lint
image: python:latest
before_script:
- pip install flake8
script:
- flake8 .
test:
stage: test
image: python:latest
script:
- pip install .
- python -m unittest discover -v
build_python:
stage: package
image: python:latest
script:
- python setup.py sdist
artifacts:
paths:
- dist/maps-deduped-tilelist*.tar.gz
build_debian:
stage: package
image: debian:stable
script:
- apt-get update
- apt-get -y install python3-all python3-setuptools dh-make dh-python
- dpkg-buildpackage -b -us -uc
- cp ../python3-maps-deduped-tilelist*.deb .
artifacts:
paths:
- python3-maps-deduped-tilelist*.deb
[flake8]
max-line-length = 88
\ No newline at end of file
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