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