GitLab Job

You can use Job template below to connect Emcee in GitLab:

default:
  image: docker:24.0.5
  services:
    - docker:24.0.5-dind

run-test-with-emcee:
  image: avitotech/emcee-cloud-cli:{VERSION}
  script:
   - /entrypoint.sh
  variables:
    EMCEE_TOKEN : ${{ EMCEE_TOKEN }}
    EMCEE_PLATFORM : 'android'
    EMCEE_APP_PATH : 'https://emcee.cloud/api/v1/file/download/0786d961-93cb-4dc7-a9d5-443bd8922788#cloud_sample-debug.apk'
    EMCEE_DEVICE_OS_VERSION : 31
    EMCEE_REPORTS : allure
    EMCEE_OUTPUT_FOLDER: /builds/$CI_PROJECT_PATH
    EMCEE_TESTS_APP_PATH : 'https://emcee.cloud/api/v1/file/download/944a149a-b197-45b6-9f08-bd60afcfa94e#cloud_sample-debug-androidTest.apk'
  artifacts:
    paths:
      - /builds/$CI_PROJECT_PATH/*.zip

This template uses Emcee CLI Docker image, so configuration details can be found in the corresponding section