Skip to content

Add messaging kafka #52

Add messaging kafka

Add messaging kafka #52

Workflow file for this run

on:
pull_request:
types: [ opened, synchronize ]
jobs:
validate-tests:
runs-on: ubuntu-latest
env:
MAIL_HOST: ${{ secrets.MAIL_HOST }}
MAIL_PORT: ${{ secrets.MAIL_PORT }}
MAIL_USERNAME: ${{ secrets.MAIL_USERNAME }}
MAIL_PASSWORD: ${{ secrets.MAIL_PASSWORD }}
steps:
- name: Checkout repository and switch to branch
uses: actions/checkout@v3
- name: Install Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Run Kafka KRaft Broker
uses: spicyparrot/kafka-kraft-action@v1.1.0
with:
kafka-version: "3.7.0"
kafka-topics: "installationCompleted.request,1"
env:
MAIL_HOST: ${{ secrets.MAIL_HOST }}
MAIL_PORT: ${{ secrets.MAIL_PORT }}
MAIL_USERNAME: ${{ secrets.MAIL_USERNAME }}
MAIL_PASSWORD: ${{ secrets.MAIL_PASSWORD }}
- name: Validate checkstyle
run: mvn checkstyle:check
- name: Validate test coverage
run: mvn clean verify