Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandraKrasteva authored Jun 21, 2024
1 parent dcf0a83 commit 983268f
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
include:
- directory: ./PostManagement
- directory: ./JourneyService
# The other services are not currently implemented
# - directory: ./StatisticsService

steps:
- uses: actions/checkout@v4
Expand All @@ -36,20 +34,20 @@ jobs:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

# - name: Run jacocoTestReport
# working-directory: ${{matrix.directory}}
# run: ./gradlew jacocoTestReport
- name: Run jacocoTestReport
working-directory: ${{matrix.directory}}
run: ./gradlew jacocoTestReport

# - name: Run tests for service
# working-directory: ${{matrix.directory}}
# run: ./gradlew test --fail-fast
- name: Run tests for service
working-directory: ${{matrix.directory}}
run: ./gradlew test --fail-fast

# - name: Add test report to Codacy
# uses: codacy/[email protected]
# with:
# api-token: ${{ secrets.CODACY_TOKEN }}
# coverage-reports: ${{matrix.directory}}/build/reports/jacoco/test/jacocoTestReport.xml
# language: java
- name: Add test report to Codacy
uses: codacy/[email protected]
with:
api-token: ${{ secrets.CODACY_TOKEN }}
coverage-reports: ${{matrix.directory}}/build/reports/jacoco/test/jacocoTestReport.xml
language: java

build:
runs-on: ubuntu-latest
Expand All @@ -65,14 +63,6 @@ jobs:
image: ghcr.io/AleksandraKrasteva/post-service
working-directory: ./PostManagement

# - dockerfile: ./StatisticsService/Dockerfile
# image: ghcr.io/AleksandraKrasteva/statistics-service
# working-directory: ./StatisticsService

# - dockerfile: ./Krakend/Dockerfile
# image: ghcr.io/AleksandraKrasteva/krakend_test
# working-directory: ./Krakend

- dockerfile: ./RabbitMQ/Dockerfile
image: ghcr.io/AleksandraKrasteva/rabbitmq
working-directory: ./RabbitMQ
Expand Down

0 comments on commit 983268f

Please sign in to comment.