Skip to content

Commit

Permalink
all_Automation_Git_Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AmolKadam-Tekdi committed Jul 8, 2024
1 parent efdf874 commit 2a40803
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/all-automation.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
name: ALL rig dev Deployment
name: Java CI with Maven and TestNG

on:
push:
branches:
- all_Automation_Actions
- main
pull_request:
branches:
- main

jobs:
deploy:
build:
runs-on: ubuntu-latest

steps:
- name: uses: actions/setup-java@v2
- name: Checkout code
uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'

java-version: '17'

distribution: 'adopt'

cache: maven

- name: Build with Maven
- name: Build with Maven
run: mvn clean install

run: mvn -B package --file testng.xml
- name: Run TestNG tests
run: mvn test -DsuiteXmlFile=testng.xml

0 comments on commit 2a40803

Please sign in to comment.