diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 636b442..2fe6f4b 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,13 @@ image: docker:latest -services: - - name: docker:dind - command: ["--tls=false"] # Disable TLS for Docker-in-Docker - -variables: - DOCKER_HOST: "tcp://docker:2375" # Docker service address - DOCKER_TLS_CERTDIR: "" - DOCKER_DRIVER: overlay2 +test: + stage: test + image: python:3.11-alpine + script: + - pip install -r requirements.txt + - python -m unittest discover tests + only: + - main before_script: - apk add --no-cache docker-cli