From f2da7b61c552327b53da1e6fc1ce6a17a6409536 Mon Sep 17 00:00:00 2001 From: AGC <158510532+AlvaroGlezC@users.noreply.github.com> Date: Tue, 23 Apr 2024 21:26:11 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88f6937..6693c3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/