From 2d27a1f135d077c53e49b14ac1ee72325b334a71 Mon Sep 17 00:00:00 2001 From: Oscar Reyes Date: Wed, 3 Apr 2024 16:00:04 -0600 Subject: [PATCH] Adding k6 to GHA --- .github/workflows/k6.yml | 4 ++-- docker-compose.k6.workflows.yml | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/k6.yml b/.github/workflows/k6.yml index 7b3d78c..3633df0 100644 --- a/.github/workflows/k6.yml +++ b/.github/workflows/k6.yml @@ -14,11 +14,11 @@ jobs: uses: actions/checkout@v1 - name: Start containers - run: docker compose -f docker-compose.k6.workflows.yml run k6-tracetest + run: docker compose -f docker-compose.k6.workflows.yml up -d env: TRACETEST_API_TOKEN: ${{secrets.TRACETEST_TOKEN}} POKESHOP_DEMO_URL: ${{secrets.POKESHOP_DEMO_URL}} - name: Stop containers if: always() - run: docker compose docker-compose.k6.workflows.yml down + run: docker compose -f docker-compose.k6.workflows.yml down diff --git a/docker-compose.k6.workflows.yml b/docker-compose.k6.workflows.yml index 7cfc796..0927453 100644 --- a/docker-compose.k6.workflows.yml +++ b/docker-compose.k6.workflows.yml @@ -8,8 +8,5 @@ services: environment: XK6_TRACETEST_API_TOKEN: ${TRACETEST_API_TOKEN} POKESHOP_DEMO_URL: ${POKESHOP_DEMO_URL} - depends_on: - - worker - - api volumes: - ./test/k6/add-pokemon.js:/import-pokemon.js