Skip to content

Commit

Permalink
Add rabbitmq for verify phase (#1855)
Browse files Browse the repository at this point in the history
* Add rabbit mq for verify phase

Signed-off-by: Marinov Avgustin <[email protected]>
  • Loading branch information
avgustinmm authored Oct 4, 2024
1 parent de323b6 commit 20ebd9b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build.yml → .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: verify (license, test and scan)

on:
push:
Expand All @@ -12,6 +12,17 @@ jobs:
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

services:
rabbitmq:
image: rabbitmq:3-management-alpine
env:
RABBITMQ_DEFAULT_VHOST: /
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
ports:
- 15672:15672
- 5672:5672

steps:
- uses: actions/checkout@v4

Expand All @@ -25,9 +36,9 @@ jobs:
- name: Check license
run: mvn license:check --batch-mode

- name: Build with Maven
- name: Run Tests & javadoc
run: mvn verify javadoc:javadoc --batch-mode
#
# - name: Scan
# if: ${{ BRANCH_NAME == 'master' }}
# run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.branch.name=eclipse-master -Dsonar.login=$SONAR_ACCESS_TOKEN --batch-mode
# run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.branch.name=eclipse-master -Dsonar.login=$SONAR_ACCESS_TOKEN --batch-mode

0 comments on commit 20ebd9b

Please sign in to comment.