added git; changed python image to 3.8
This commit is contained in:
parent
3b971336ee
commit
2395ba92f3
@ -1,7 +1,7 @@
|
|||||||
# This file is a template, and might need editing before it works on your project.
|
# This file is a template, and might need editing before it works on your project.
|
||||||
# Official language image. Look for the different tagged releases at:
|
# Official language image. Look for the different tagged releases at:
|
||||||
# https://hub.docker.com/r/library/python/tags/
|
# https://hub.docker.com/r/library/python/tags/
|
||||||
image: "python:3.9"
|
image: "python:3.8"
|
||||||
#commands to run in the Docker container before starting each job.
|
#commands to run in the Docker container before starting each job.
|
||||||
before_script:
|
before_script:
|
||||||
- pip install -r ./requirements.txt
|
- pip install -r ./requirements.txt
|
||||||
@ -12,4 +12,5 @@ stages:
|
|||||||
pytest:
|
pytest:
|
||||||
stage: Test
|
stage: Test
|
||||||
script:
|
script:
|
||||||
- pytest -v ./tests
|
- apk update; apk upgrade; apk add git
|
||||||
|
- pytest -v ./tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user