Update dependency net.masterthought:cucumber-reporting to v5.8.4 #56
Workflow file for this run
This file contains 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: BrowserStack_Web_Android_MultiUser_CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
BrowserStack_Web_Android_MultiUser_CI: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Install Appium 2.0 and dependencies | |
run: | | |
node -v | |
npm cache clean --force | |
npm install | |
npm list | |
- name: Run Web tests against Browserstack | |
run: | | |
RUN_IN_CI=true TESWIZ_APPLITOOLS_API_KEY=${{ secrets.TESWIZ_APPLITOOLS_API_KEY }} IS_VISUAL=true CONFIG=./configs/theapp/theapp_browserstack_web_config.properties CLOUD_USERNAME=${{ secrets.BROWSERSTACK_CLOUD_USERNAME }} CLOUD_KEY=${{ secrets.BROWSERSTACK_CLOUD_KEY }} PLATFORM=web TAG="@theapp and @invalidLogin1 and @browserstack" ./gradlew run | |
continue-on-error: true | |
- name: Save Test Artifacts | |
if: ${{ always() }} # Ensure this step runs even if the tests fail | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results-theapp-web | |
path: target | |
continue-on-error: true | |
- name: Run TheApp Android tests against Browserstack | |
run: | | |
echo "Run theApp Tests" | |
RUN_IN_CI=true TESWIZ_APPLITOOLS_API_KEY=${{ secrets.TESWIZ_APPLITOOLS_API_KEY }} IS_VISUAL=true CONFIG=./configs/theapp/theapp_browserstack_config.properties CLOUD_USERNAME=${{ secrets.BROWSERSTACK_CLOUD_USERNAME }} CLOUD_KEY=${{ secrets.BROWSERSTACK_CLOUD_KEY }} PLATFORM=android TAG="@theapp and @invalidLogin1 and @browserstack" ./gradlew run | |
continue-on-error: true | |
- name: Save Test Artifacts | |
if: ${{ always() }} # Ensure this step runs even if the tests fail | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results-theapp-android | |
path: target | |
continue-on-error: true | |
- name: Run New Calculator Android tests against Browserstack | |
run: | | |
echo "Run New Calculator Tests" | |
RUN_IN_CI=true TESWIZ_APPLITOOLS_API_KEY=${{ secrets.TESWIZ_APPLITOOLS_API_KEY }} IS_VISUAL=true CONFIG=./configs/calculator/new_calculator_browserstack_config.properties CLOUD_USERNAME=${{ secrets.BROWSERSTACK_CLOUD_USERNAME }} CLOUD_KEY=${{ secrets.BROWSERSTACK_CLOUD_KEY }} PLATFORM=android TAG="@new_calculator and @browserstack" ./gradlew run | |
continue-on-error: true | |
- name: Save Test Artifacts | |
if: ${{ always() }} # Ensure this step runs even if the tests fail | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results-calculator-android | |
path: target | |
continue-on-error: true | |
- name: Run Multi-user Android & Web tests against Browserstack | |
run: | | |
RUN_IN_CI=true TESWIZ_APPLITOOLS_API_KEY=${{ secrets.TESWIZ_APPLITOOLS_API_KEY }} IS_VISUAL=true CONFIG=./configs/theapp/theapp_browserstack_config.properties CLOUD_USERNAME=${{ secrets.BROWSERSTACK_CLOUD_USERNAME }} CLOUD_KEY=${{ secrets.BROWSERSTACK_CLOUD_KEY }} PLATFORM=android TAG="@multiuser-android-web and @theapp and @browserstack" ./gradlew run | |
continue-on-error: true | |
- name: Save Test Artifacts | |
if: ${{ always() }} # Ensure this step runs even if the tests fail | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results-multi-user | |
path: target | |
continue-on-error: true |