feat/test(Producto): agrego lote, precio y modulo #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI with Maven | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CI: 'true' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 11 for x64 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
architecture: x64 | |
- name: Test run with Maven | |
run: mvn clean test | |
- name: Upload coverage report | |
uses: codecov/codecov-action@v4 | |
with: | |
files: ./target/site/jacoco/jacoco.xml | |
token: ${{ secrets.CODECOV_TOKEN }} # Aquí es donde se hace referencia al "Repository Secret" | |
verbose: true |