Indicador grupo6 #56
Workflow file for this run
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: Flujo de trabajo para ejecutar los test | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ V.0.2 ] | |
pull_request: | |
branches: [ V.0.2 ] | |
schedule: | |
- cron: '1 23 * * 0-4' | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_LOGIN: ${{ github.actor }} | |
GITHUB_PACKAGES: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Clonando el repositorio y estableciendo el espacio de trabajo | |
uses: actions/checkout@v3 | |
- name: Configurando java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '16' | |
- name: Construyendo y probando el código | |
run: | | |
chmod +x gradlew | |
./gradlew jar | |
Test: | |
needs: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clonando el repositorio y estableciendo el espacio de trabajo | |
uses: actions/checkout@v3 | |
- name: Configurando java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '16' | |
- name: Ejecutando pruebas | |
run: | | |
chmod +x gradlew | |
./gradlew test |