Skip to content

Commit

Permalink
Emoji!
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschuch committed Feb 27, 2024
1 parent bf96296 commit 6fed56e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/performance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ concurrency:
cancel-in-progress: true

env:
K6_SCRIPTS_DIR: performance-testing/scripts
K6_SCENARIO: performance-testing/scenarios/basic.js
K6_RESULTS_DIR: performance-testing/results
K6_SCRIPTS_DIR: ./performance-testing/scripts
K6_SCENARIO: ./performance-testing/scenarios/basic.js
K6_RESULTS_DIR: ./performance-testing/results

jobs:
performance-test:
Expand All @@ -21,7 +21,7 @@ jobs:
- name: ⬇️ Git clone the repository
uses: actions/checkout@v3

- name: Init
- name: 📁 Init
run: |
# Set permissions for checkout.
sudo chown -R 1000:1000 $(pwd)
Expand All @@ -30,22 +30,22 @@ jobs:
sudo mkdir -p ${K6_RESULTS_DIR}
sudo chmod 777 ${K6_RESULTS_DIR}
- name: 📋 Setup
- name: 📦 Setup
run: |
OTEL_PHP_AUTOLOAD_ENABLED=false docker compose up -d --wait
docker compose exec php-cli composer install --prefer-dist
docker compose exec php-cli ./vendor/drush/drush/drush si demo_umami -y
- name: K6 - Execute Baseline Performance Test
- name: 🧪 K6 - Execute Baseline Performance Test
run: |
bash ${K6_SCRIPTS_DIR}/k6_run.sh ${K6_SCENARIO} ${K6_RESULTS_DIR} baseline.json
- name: Enable OTEL
- name: ⚙️ Enable OTEL
run: |
docker compose stop
docker compose up -d --wait
- name: K6 - Execute OpenTelemetry Enabled Performance Test
- name: 🧪 K6 - Execute OpenTelemetry Enabled Performance Test
run: |
bash ${K6_SCRIPTS_DIR}/k6_run.sh ${K6_SCENARIO} ${K6_RESULTS_DIR} otel.json
Expand Down

0 comments on commit 6fed56e

Please sign in to comment.