image: "python:3.7" before_script: - python --version - pip install coverage pytest pytest-cov pylint recordclass coverage coverage-badge stages: - Static Analysis - Test pylint: stage: Static Analysis script: - pylint -d C0301 cellular_automaton/*.py test: stage: Test script: - pytest --cov=cellular_automaton tests/ - coverage report -m - coverage-badge coverage: '/TOTAL.+ ([0-9]{1,3}%)/'