<commit_before>name: CI/CD

on: [push, pull_request, workflow_dispatch]

jobs:
  
  Run_Fast_Tests:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Project
        uses: actions/checkout@v2
    
      - name: Setup Java JDK
        uses: actions/setup-java@v1.4.3
        with:
          java-version: 11
          
      - name: Build
        run: mvn test -Dtest=*UnitTest,*FeatureTest
        
  Run_Slow_Tests:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Project
        uses: actions/checkout@v2
    
   #   - name: Setup Java JDK
   #     uses: actions/setup-java@v1.4.3
   #     with:
   #       java-version: 11
          
  #    - name: Build
  #      env: 
  #        TEST_MACHINE_PERFORMANCE_DEGRADATION_FACTOR: 4
  #      run: mvn test -Dtest=*PerformanceTest,*IntTest
          
  Build:
    runs-on: ubuntu-latest
    needs: [Run_Fast_Tests, Run_Slow_Tests]
    steps:
      - name: Checkout Project
        uses: actions/checkout@v2
    
      - name: Setup Java JDK
        uses: actions/setup-java@v1.4.3
        with:
          java-version: 11
          
      - name: Build Java
        run: mvn package -DskipTests
        
      - name: Login to DockerHub
        uses: docker/login-action@v1 
        with:
          username: ${{ secrets.DOCKER_HUB_USER }}
          password: ${{ secrets.DOCKER_HUB_TOKEN }}
        
      - name: Build Docker Pushing to DockerHub
        id: docker_build
        uses: docker/build-push-action@v2
        with:
          push: true
          tags: vitormcruz/payroll-vmc-case-study:latest
<commit_msg>Telling push to use current context where application is already build<commit_after>name: CI/CD

on: [push, pull_request, workflow_dispatch]

jobs:
  
  Run_Fast_Tests:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Project
        uses: actions/checkout@v2
    
    #  - name: Setup Java JDK
    #    uses: actions/setup-java@v1.4.3
    #    with:
    #      java-version: 11
          
    #  - name: Build
    #    run: mvn test -Dtest=*UnitTest,*FeatureTest
        
  Run_Slow_Tests:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Project
        uses: actions/checkout@v2
    
   #   - name: Setup Java JDK
   #     uses: actions/setup-java@v1.4.3
   #     with:
   #       java-version: 11
          
  #    - name: Build
  #      env: 
  #        TEST_MACHINE_PERFORMANCE_DEGRADATION_FACTOR: 4
  #      run: mvn test -Dtest=*PerformanceTest,*IntTest
          
  Build:
    runs-on: ubuntu-latest
    needs: [Run_Fast_Tests, Run_Slow_Tests]
    steps:
      - name: Checkout Project
        uses: actions/checkout@v2
    
      - name: Setup Java JDK
        uses: actions/setup-java@v1.4.3
        with:
          java-version: 11
          
      - name: Build Java
        run: mvn package -DskipTests
        
      - name: Login to DockerHub
        uses: docker/login-action@v1 
        with:
          username: ${{ secrets.DOCKER_HUB_USER }}
          password: ${{ secrets.DOCKER_HUB_TOKEN }}
        
      - name: Build Docker Pushing to DockerHub
        id: docker_build
        uses: docker/build-push-action@v2
        with:
          context: .
          push: true
          tags: vitormcruz/payroll-vmc-case-study:latest

{'fraction_non_alphanumeric': 0.09124311083894672, 'fraction_numerical': 0.012859767299448868, 'mean_word_length': 1.6955445544554455, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1529716', 'n_tokens_mistral': 1143, 'n_tokens_neox': 1078, 'n_words': 235}