Loading .gitlab-ci.yml +9 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ stages: variables: DOCKER_DRIVER: overlay2 DOCKER_TLS_CERTDIR: "" FF_USE_LEGACY_BUILDS_DIR_FOR_DOCKER: "true" build_image: stage: build Loading Loading @@ -50,6 +49,10 @@ build_image: reports: dotenv: build.env after_script: - rm -rf __pycache__ || true - find . -type d -name __pycache__ -exec rm -rf {} + || true test_documentation: stage: test image: docker:25.0.3 Loading @@ -72,3 +75,7 @@ test_documentation: script: - echo "Running tests in container..." - docker run --rm -v $CI_PROJECT_DIR:/workspace -w /workspace $IMAGE_NAME:$IMAGE_TAG python -m unittest test_mymodule after_script: - rm -rf __pycache__ || true - find . -type d -name __pycache__ -exec rm -rf {} + || true No newline at end of file Loading
.gitlab-ci.yml +9 −2 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ stages: variables: DOCKER_DRIVER: overlay2 DOCKER_TLS_CERTDIR: "" FF_USE_LEGACY_BUILDS_DIR_FOR_DOCKER: "true" build_image: stage: build Loading Loading @@ -50,6 +49,10 @@ build_image: reports: dotenv: build.env after_script: - rm -rf __pycache__ || true - find . -type d -name __pycache__ -exec rm -rf {} + || true test_documentation: stage: test image: docker:25.0.3 Loading @@ -72,3 +75,7 @@ test_documentation: script: - echo "Running tests in container..." - docker run --rm -v $CI_PROJECT_DIR:/workspace -w /workspace $IMAGE_NAME:$IMAGE_TAG python -m unittest test_mymodule after_script: - rm -rf __pycache__ || true - find . -type d -name __pycache__ -exec rm -rf {} + || true No newline at end of file