Skip to content

Hack file compare

Hack file compare #5

name: Test For File Compare
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- name: Build & Run tests with Maven
run: mvn clean test -DsuiteXmlFile=testNGsuite/fileCompare.xml
- name: Upload Test Result as Artifact
uses: actions/upload-artifact@v3
with:
name: file-compare-result
path: src/test/resources/results.xlsx