Commit 46212dfb authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

Merge branch 'feature/ci' into 'master'

Add basic ci pipeline

See merge request shakemap/shakyground2!2
parents 2b7b2b7a 95729f4a
image: python:3-buster
before_script:
- python3 -V
- pip3 install pytest-cov
- pip3 install .[tests]
- pip3 install .
formatting:
script:
- make check
test:
script:
- pytest tests
coverage:
script:
- pytest --cov=shakyground2/ tests/
- coverage xml
artifacts:
reports:
cobertura: coverage.xml
......@@ -2,7 +2,7 @@
from setuptools import setup, find_packages
test_requirements = ["pylint", "flake8", "pytest"]
test_requirements = ["pylint", "flake8", "black", "pytest"]
setup(
name="shakyground2",
......
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