mirror of
https://github.com/Findus23/acronomy.git
synced 2024-09-12 07:33:45 +02:00
add Gitlab CI
This commit is contained in:
parent
df4d87f872
commit
1f8e53eaa8
1 changed files with 17 additions and 0 deletions
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
image: python:3.7
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- ~/.cache/pip/
|
||||
- ~/.cache/poetry/
|
||||
|
||||
before_script:
|
||||
- python -V # Print out python version for debugging
|
||||
- pip install poetry
|
||||
- poetry install
|
||||
|
||||
|
||||
test:
|
||||
script:
|
||||
- poetry run python manage.py test
|
||||
|
Loading…
Reference in a new issue