diff --git a/.github/workflows/performance-test.yml b/.github/workflows/performance-test.yml index 9ba9190..3c73941 100644 --- a/.github/workflows/performance-test.yml +++ b/.github/workflows/performance-test.yml @@ -1,4 +1,4 @@ -name: 📋 Format +name: 📋 Performance Test on: pull_request: @@ -9,7 +9,7 @@ concurrency: cancel-in-progress: true jobs: - test: + performance-test: runs-on: ubuntu-latest steps: @@ -27,7 +27,7 @@ jobs: - name: 📋 Setup run: | - docker compose up -d + OTEL_PHP_AUTOLOAD_ENABLED=false docker compose up -d docker compose exec php-cli composer install --prefer-dist docker compose exec php-cli ./vendor/drush/drush/drush si demo_umami -y @@ -37,8 +37,8 @@ jobs: - name: Enable OTEL run: | - # Compose down - # Compose up w/ OTEL + docker compose stop + docker compose up -d - name: Rerun K6 Test run: | diff --git a/docker-compose.yml b/docker-compose.yml index 8a77cc9..ca7b2e1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ x-otel-common: &otel-common - OTEL_PHP_AUTOLOAD_ENABLED: true + OTEL_PHP_AUTOLOAD_ENABLED: ${OTEL_PHP_AUTOLOAD_ENABLED:-true} OTEL_SERVICE_NAME: drupal OTEL_TRACES_EXPORTER: otlp OTEL_EXPORTER_OTLP_TRACES_PROTOCOL: http/protobuf