![](/img/trans.png)
[英]Gitlab Flask Page: Problems with installing python GDAL package for Frozen Flask Application with .gitlab-ci.yml file
[英]Configuring .gitlab-ci.yml file in Gitlab to test python Codes
很簡單。 這是我在倉庫中使用的最小工作示例:
pytest:
image: python:3.6
script:
- apt-get update -q -y
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- pytest # or pytest tests/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.