Update .gitlab-ci.yml

This commit is contained in:
Alexander Hosking 2022-04-15 03:25:48 +00:00
parent d174e81864
commit 70f1d665ab

View File

@ -10,6 +10,7 @@ buiild job:
- export FLASK_APP=period - export FLASK_APP=period
- apt-get update -qy - apt-get update -qy
- apt-get install -y python3-dev python3-pip - apt-get install -y python3-dev python3-pip
- pip3 install --upgrade setuptools
- pip3 install Flask gunicorn pytest pytest-cov - pip3 install Flask gunicorn pytest pytest-cov
- pytest tests --cov --cov-report term --cov-report html - pytest tests --cov --cov-report term --cov-report html
@ -18,4 +19,4 @@ deploy job:
script: script:
- sudo apt-get update -qy - sudo apt-get update -qy
- sudo apt-get install curl -y - sudo apt-get install curl -y
- curl period.ahosking.com/reload?password=BananaHammocks - curl period.ahosking.com/reload?password=BananaHammocks