pipeline {
  agent any
  options {
      disableConcurrentBuilds()
      timeout(time: 10, unit: 'MINUTES')
      ansiColor('xterm')
      timestamps()
  }
  environment {
    CODECOV_TOKEN = credentials('devrel-dbx-codecov')
  }

  stages {
    stage("Test") {
      steps {
        sh "env"
        sh "make test_ci"
        sh "make report_coverage"
      }
    }
  }
}