Commit dc03533e authored by Andres Anaya Amariels's avatar Andres Anaya Amariels 🚀
Browse files

unit_tests template

parent 8bceae45
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
stages:
  - staging_unit_tests

variables:
  CI_JOB_TOKEN: $CI_JOB_TOKEN
  CI_DEBUG_TRACE: "false"
  CI_REGISTRY_USER: $CI_REGISTRY_USER
  CI_REGISTRY: $CI_REGISTRY
  CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY

.staging_common: &staging_common
  only:
    - merge_requests
  except:
    variables:
      - $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != "staging"
  tags:
    - shell

staging_unit_tests:
  stage: staging_unit_tests
  script:
    - |
      echo "------- Unit Tests -------"
  <<: *staging_common