Skip to content

GitHubActions-> Changes in maven file #20

GitHubActions-> Changes in maven file

GitHubActions-> Changes in maven file #20

Workflow file for this run

name: Selenium Tests on Windows
on: [push]
jobs:
run-tests:

Check failure on line 6 in .github/workflows/maven.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/maven.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Java and Maven
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: "11"
- name: Install Maven
run: choco install maven
- name: Set up ChromeDriver
run: choco install chromedriver
- name: Run tests with Maven
run: |
mvn clean test
- name: Upload Extent Report as artifact
if: always()
uses: actions/upload-artifact@v3
with:
name: ExtentReport
path: Reports/extentReport.html