keboola/api-error-control

View on GitHub
azure-pipelines.yaml

Summary

Maintainability
Test Coverage
pr: none
trigger:
  batch: true
  branches:
    include:
      - '*'

pool:
  vmImage: ubuntu-latest

strategy:
  matrix:
    'PHP 8.2':
      PHP_VERSION: 8.2
    'PHP 8.3':
      PHP_VERSION: 8.3

steps:
  - script: docker-compose build --build-arg PHP_VERSION=$(PHP_VERSION) ci
    displayName: Build Docker image

  - script: docker-compose run --rm ci
    displayName: Run Tests
    env:
      AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID)
      AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
      AWS_DEFAULT_REGION: $(AWS_DEFAULT_REGION)
      AWS_S3_LOGS_BUCKET: $(S3_LOGS_BUCKET)
      AZURE_ABS_CONNECTION_STRING: $(ABS_CONNECTION_STRING)
      AZURE_ABS_CONTAINER: $(ABS_CONTAINER)