Notice: La función _load_textdomain_just_in_time fue llamada de forma incorrecta. Translation loading for the astra domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Visitá Depuración en WordPress para más información. (Este mensaje se agregó en la versión 6.7.0.) in /home/autoc0de/public_html/wp-includes/functions.php on line 6114

Warning: Cannot modify header information - headers already sent by (output started at /home/autoc0de/public_html/wp-includes/functions.php:6114) in /home/autoc0de/public_html/wp-content/plugins/betterdocs-pro/public/class-betterdocs-pro-public.php on line 324
Github Actions – Autoc0de: Automation Framework

Github Actions

githubFlow.yml

name: Automatic Run

on:
  push:
    branches: [ main ]


jobs:
  Compile:
    runs-on: ubuntu-latest
    name: Compilando Java + maven
    steps:
      - name: Step 1 - Checkout main branch from GitHub
        uses: actions/checkout@v2

      - name: Step 2 - Set up JDK 11.0.7
        uses: actions/setup-java@v1
        with:
          java-version: 11.0.7

      - name: Step 3 - Build Maven
        run: mvn compile

  Test:
    runs-on: ubuntu-latest
    name: Ejecutando tests
    needs: Compile
    steps:
      - name: Step 1 - Checkout main branch from GitHub
        uses: actions/checkout@v2

      - name: Step 2 - Set up JDK 11.0.7
        uses: actions/setup-java@v1
        with:
          java-version: 11.0.7

      - name: Step 3 - Download Latest Google Chrome
        run: wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

      - name: Step 4 - Install Google Chrome
        run: sudo apt install ./google-chrome-stable_current_amd64.deb

      - name: Step 5 - Run Tests
        run: mvn test -Pheadless

      - name: Step 6 - Generar Reportes (Artifact)
        uses: actions/upload-artifact@v2
        with:
          name: Reporte-Autoc0de-Web-Chrome
          path: target/Reports/
What are your feelings
Scroll al inicio