From 385a7f9fa2f004db45b748b479b8fea5073db634 Mon Sep 17 00:00:00 2001 From: Christoph Zwerschke Date: Tue, 7 Nov 2023 19:01:31 +0000 Subject: [PATCH] Add ports and step names in test workflow --- .devcontainer/docker-compose.yml | 3 +++ .github/workflows/tests.yaml | 12 +++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 7f066b04..aa45bee7 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -56,6 +56,9 @@ services: KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1 volumes: - ./kafka_secrets:/etc/kafka/secrets + ports: + - 9092:9092 + - 19092:19092 kafka-ui: image: provectuslabs/kafka-ui diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c89e8c47..ab6bfd8d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -8,20 +8,26 @@ jobs: name: Tests steps: - - uses: actions/checkout@v3 + - id: checkout + name: Check out repository + uses: actions/checkout@v3 - - name: Create Kafka secrets + - id: secrets + name: Create Kafka secrets run: | .devcontainer/kafka_secrets/create_secrets.sh - - name: Set up containers + - id: containers + name: Set up containers run: | docker-compose -f .devcontainer/docker-compose.yml up -d - id: common + name: Run all common steps uses: ghga-de/gh-action-common@v3 - id: pytest + name: Run all tests run: | export ${{ steps.common.outputs.CONFIG_YAML_ENV_VAR_NAME }}="${{ steps.common.outputs.CONFIG_YAML }}"