Skip to content

Commit

Permalink
Add code cov
Browse files Browse the repository at this point in the history
  • Loading branch information
XyL1GaN4eG committed Jul 28, 2024
1 parent e577fb6 commit 48e929f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy_tg_bot_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,15 @@ jobs:
script: |
echo "Building tgBotService on server..."
cd /home/xyl1gan4eg/myJavaProjects/weatherProject/tgBotService
mvn test
mvn clean install
echo "Build completed."
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Restart tgBotService
uses: appleboy/ssh-action@master
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy_user_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ jobs:
script: |
echo "Building userService on server..."
cd /home/xyl1gan4eg/myJavaProjects/weatherProject/userService
mvn test
mvn clean install
echo "Build completed."
- name: Restart userService
uses: appleboy/ssh-action@master
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/deploy_weather_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,15 @@ jobs:
script: |
echo "Building weatherApiService on server..."
cd /home/xyl1gan4eg/myJavaProjects/weatherProject/weatherApiService
mvn test
mvn clean install
echo "Build completed."
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Restart weatherApiService
uses: appleboy/ssh-action@master
with:
Expand Down

0 comments on commit 48e929f

Please sign in to comment.