Commit d0574415 authored by Javi Moreno's avatar Javi Moreno
Browse files

Added pytests to monitoring ci yaml

parent 225176fc
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -34,6 +34,17 @@ push monitoring:
      - src/$IMAGE_NAME/**
      - .gitlab-ci.yml

# apply unit test to the monitoring component
test monitoring pytest:
  stage: test
  script:
    - pytest --junitxml=report.xml
  artifacts:
    when: always
    reports:
      junit: report.xml
    expire_in: 1 day

# test if the Docker image can be pulled from the gitlab registry
test monitoring pull:
  stage: test