From bfd86f0fbaf6226336aed1c68d29f53bc3693cdf Mon Sep 17 00:00:00 2001 From: AEkaterina Date: Fri, 6 Oct 2023 03:47:35 +0400 Subject: [PATCH] updated pom and maven --- .github/workflows/maven.yml | 28 ++++++++----------------- pom.xml | 41 +++++++++---------------------------- 2 files changed, 19 insertions(+), 50 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 844ab57..f026254 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -47,16 +47,6 @@ jobs: run: mvn clean test -Daquality.buildName="${{github.event.inputs.build_name}}" -DdriverSettings.${{github.event.inputs.platform_name}}.deviceKey=${{github.event.inputs.device_name_and_version}} -Daquality.suiteName="${{github.event.inputs.platform_name}} - ${{github.event.inputs.test_tag}}" -Daquality.environment="${{github.event.inputs.platform_name}}" -Dcredentials.LYRASISReads."ios".${{secrets.BookCardLyrasis1}}=${{secrets.BookPinLyrasis1}} -Dcredentials.LYRASISReads."ios".${{secrets.BookCardLyrasis2}}=${{secrets.BookPinLyrasis2}} -Dcredentials.LYRASISReads."ios".${{secrets.BookCardLyrasis3}}=${{secrets.BookPinLyrasis3}} -Dcredentials.LYRASISReads."ios".${{secrets.BookCardLyrasis4}}=${{secrets.BookPinLyrasis4}} -Dcredentials.LYRASISReads."android".${{secrets.BookCardLyrasis1}}=${{secrets.BookPinLyrasis1}} -Dcredentials.LYRASISReads."android".${{secrets.BookCardLyrasis2}}=${{secrets.BookPinLyrasis2}} -Dcredentials.LYRASISReads."android".${{secrets.BookCardLyrasis3}}=${{secrets.BookPinLyrasis3}} -Dcredentials.LYRASISReads."android".${{secrets.BookCardLyrasis4}}=${{secrets.BookPinLyrasis4}} -Dcredentials.A1QATestLibrary."ios".${{secrets.BookCardLyrasis1}}=${{secrets.BookPinLyrasis1}} -Dcredentials.A1QATestLibrary."ios".${{secrets.BookCardLyrasis2}}=${{secrets.BookPinLyrasis2}} -Dcredentials.A1QATestLibrary."ios".${{secrets.BookCardLyrasis3}}=${{secrets.BookPinLyrasis3}} -Dcredentials.A1QATestLibrary."ios".${{secrets.BookCardLyrasis4}}=${{secrets.BookPinLyrasis4}} -Dcredentials.A1QATestLibrary."android".${{secrets.BookCardLyrasis1}}=${{secrets.BookPinLyrasis1}} -Dcredentials.A1QATestLibrary."android".${{secrets.BookCardLyrasis2}}=${{secrets.BookPinLyrasis2}} -Dcredentials.A1QATestLibrary."android".${{secrets.BookCardLyrasis3}}=${{secrets.BookPinLyrasis3}} -Dcredentials.A1QATestLibrary."android".${{secrets.BookCardLyrasis4}}=${{secrets.BookPinLyrasis4}} -DremoteConnectionUrl=${{secrets.remoteConnectionUrl}} -DdriverSettings.${{github.event.inputs.platform_name}}.capabilities."browserstack.user"=${{secrets.BROWSERSTACK_USER}} -DdriverSettings.${{github.event.inputs.platform_name}}.capabilities."browserstack.key"=${{secrets.BROWSERSTACK_KEY}} -DplatformName=${{github.event.inputs.platform_name}} -DdriverSettings.${{github.event.inputs.platform_name}}.capabilities.app=${{github.event.inputs.bs_app_link}} -Dcucumber.options="--tags '(${{github.event.inputs.test_tag}} and not @ignore) and not @exclude_${{github.event.inputs.platform_name}}'" continue-on-error: true - - name: Generate Cucumber Report - run: mvn verify - - - name: Upload Cucumber Report - uses: actions/upload-artifact@v2 - with: - name: cucumber-report - path: target/cucumber-reports/cucumber-report.json - - # - name: Upload Report @@ -84,15 +74,15 @@ jobs: -# - name: Generate Allure Report -# uses: AEkaterina/action-allure-report@v0.1.1 -# if: success() || failure() -# - name: Upload report -# uses: actions/upload-artifact@v3 -# with: -# name: allure-report -# path: allure-report/ -# if: success() || failure() + - name: Generate Allure Report + uses: AEkaterina/action-allure-report@v0.1.1 + if: success() || failure() + - name: Upload report + uses: actions/upload-artifact@v3 + with: + name: allure-report + path: allure-report/ + if: success() || failure() # - name: Get Allure history # uses: actions/checkout@v3 diff --git a/pom.xml b/pom.xml index 9c660e1..06fa4bc 100644 --- a/pom.xml +++ b/pom.xml @@ -28,11 +28,11 @@ - - - - - + + io.qameta.allure + allure-maven + 2.10.0 + org.apache.maven.plugins @@ -44,27 +44,6 @@ false - - - net.masterthought - maven-cucumber-reporting - 5.7.6 - - - execution - verify - - generate - - - ${project.build.directory}/cucumber-reports - - **/*.json - - - - - @@ -127,11 +106,11 @@ ${cucumber.version} - - - - - + + io.qameta.allure + allure-cucumber5-jvm + 2.13.2 + com.squareup.retrofit2