name: user-registration-application-pipeline

on: [push]

jobs:
  pipeline:
    runs-on: ubuntu-latest

    steps:
    - name: checkout
      uses: actions/checkout@v1

    - name: setup java
      uses: actions/setup-java@v1
      with:
        java-version: '11'

    - name: Install application
      run: ./mvnw -pl user-registration-application -am install

    - name: Capacity Tests
      run: |
        cd user-registration-capacitytest-gatling
        ./mvnw test
name: user-registration-capacity-tests

on: [push]

jobs:
  pipeline:
    runs-on: ubuntu-latest

    steps:
    - name: checkout
      uses: actions/checkout@v1

    - name: setup java
      uses: actions/setup-java@v1
      with:
        java-version: '11'

    - name: Install application
      run: ./mvnw -pl user-registration-application -am install

    - name: Capacity Tests
      run: |
        cd user-registration-capacitytest-gatling
        ./mvnw test
Fix name for capacity test pipeline
Fix name for capacity test pipeline
