Commit f566b6cd authored by Marco Cavalli's avatar Marco Cavalli
Browse files

test

parent 73e0faaa
Loading
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ stages:
variables:
  DOCKER_DRIVER: overlay2
  DOCKER_TLS_CERTDIR: ""
  FF_USE_LEGACY_BUILDS_DIR_FOR_DOCKER: "true"

build_image:
  stage: build
@@ -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
@@ -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