Files
web-scraper/.gitlab-ci.yml
2021-03-08 08:56:45 +00:00

29 lines
405 B
YAML

image: "python:3.9"
variables:
SMS_TO: "01234567890"
before_script:
- python --version
- pip install -r requirements.txt
stages:
- Static Analysis
- Test
flake8:
stage: Static Analysis
script:
- flake8 --max-line-length=120 *.py
pylint:
stage: Static Analysis
allow_failure: true
script:
- pylint -d C0301 *.py
unit_test:
stage: Test
script:
- pytest -v test_scrape.py