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 }}"