Hack file compare #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: target/test-classes/results.xlsx |