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 24, 2024
1 parent b58a799 commit e1b6abf
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ jobs:
run: mvn clean verify

# Mover el reporte de cobertura a la raíz del proyecto
- name: Move coverage report to project root
run: |
mkdir -p coverage
cp -r SYG-bootstrap/target/site/jacoco-aggregate/jacoco.csv coverage/
cp -r SYG-bootstrap/target/site/jacoco-aggregate/index.html coverage/
# - name: Move coverage report to project root
# run: |
# mkdir -p coverage
# cp -r SYG-bootstrap/target/site/jacoco-aggregate/jacoco.csv coverage/
# cp -r SYG-bootstrap/target/site/jacoco-aggregate/index.html coverage/

- name: Configurar Git para el commit
run: |
git config --global user.name "AlvaroGlezC"
git config --global user.email "[email protected]"
# - name: Configurar Git para el commit
# run: |
# git config --global user.name "AlvaroGlezC"
# git config --global user.email "[email protected]"

- name: Hacer commit y push de la cobertura
run: |
git add -f coverage
git commit -m "Agregar reporte de cobertura"
git push
# - name: Hacer commit y push de la cobertura
# run: |
# git add -f coverage
# git commit -m "Agregar reporte de cobertura"
# git push

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit e1b6abf

Please sign in to comment.