diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 78499e52be82bef4c2a8c2c63804dd16e73e7236..a10b243e2106f81dbf21acfaa8567f814d14a9c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,18 @@ +image: python:3.6 + stages: - - build + - test + +before_script: + - pip3 install . + - pip3 show myapp -PythonBuild: - stage: build - artifacts: - untracked: true +run tests: + stage: test + only: + - develop + tags: + - python3 + - test script: - - apt-get update && apt-get install python3 -y \ No newline at end of file + - pytest test \ No newline at end of file