Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Arquisoft/wiq_es1d
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroGlezC committed Apr 27, 2024
2 parents 0cb68fa + 0630608 commit 93c9821
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,33 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: SYG-bootstrap/target/site/jacoco-aggregate/jacoco.xml


frontend-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: syg-frontend
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '21' # Cambia según tu versión de Node.js

- name: Install dependencies
run: npm install

- name: Run tests
run: npm test

- name: Run coverage
run: npm run coverage

# Si quieres guardar el reporte de cobertura, puedes usar esta sección:
- name: Save coverage report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage/

0 comments on commit 93c9821

Please sign in to comment.