Skip to content

all_Automation_Git_Actions #2

all_Automation_Git_Actions

all_Automation_Git_Actions #2

Workflow file for this run

name: Java CI with Maven and TestNG
on:
push:
branches:
- all_Automation_Actions
# pull_request:
# branches:
# - main
jobs:
build:
runs-on: ubuntu-latest
steps:

Check failure on line 15 in .github/workflows/all-automation.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/all-automation.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
# - name: Build with Maven
# run: mvn clean install
# - name: Run TestNG tests
# run: mvn test -DsuiteXmlFile=testng.xml
-name: Run tests
run: mvn test