Skip to content

Commit

Permalink
Add ports and step names in test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Nov 7, 2023
1 parent 52ffff9 commit 385a7f9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 385a7f9

Please sign in to comment.