Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroGlezC authored Apr 23, 2024
1 parent 3fc4297 commit f2da7b6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
unit-tests:
backend-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: syg-backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

- name: Build with Maven and generate JaCoCo report
run: mvn clean verify
working-directory: syg-backend

- name: Upload JaCoCo report
uses: actions/upload-artifact@v4
with:
name: jacoco-report
path: |
*/target/site/jacoco/jacoco-aggregate
# Mover el reporte de cobertura a la raíz del proyecto
- name: Move coverage report to project root
run: |
mkdir -p coverage
cp target/site/jacoco/* coverage/

0 comments on commit f2da7b6

Please sign in to comment.