Skip to content

Add gauge-appium (Java, Gauge + Appium) App Automate sample — android/#1

Open
AakashHotchandani wants to merge 3 commits into
mainfrom
sdk-sample
Open

Add gauge-appium (Java, Gauge + Appium) App Automate sample — android/#1
AakashHotchandani wants to merge 3 commits into
mainfrom
sdk-sample

Conversation

@AakashHotchandani

Copy link
Copy Markdown
Collaborator

Import generated + live-validated BrowserStack SDK sample content, replacing the init scaffold. Single clean commit; no run artifacts.

@AakashHotchandani AakashHotchandani requested a review from a team as a code owner June 10, 2026 13:04
Comment on lines +17 to +74
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 3
matrix:
os: [ubuntu-latest]
java: ['11', '17']
name: gauge-appium JDK ${{ matrix.java }} sample
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
defaults:
run:
working-directory: android
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.commit_sha }}
- name: Mark status check in_progress
uses: actions/github-script@v7
env:
job_name: gauge-appium JDK ${{ matrix.java }} sample
commit_sha: ${{ github.event.inputs.commit_sha }}
with:
github-token: ${{ github.token }}
script: |
await github.rest.checks.create({
owner: context.repo.owner, repo: context.repo.repo,
name: process.env.job_name, head_sha: process.env.commit_sha,
status: 'in_progress'
}).catch(e => console.log('check create failed:', e.status));
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Install Gauge
run: |
npm install -g @getgauge/cli
gauge install java
- name: Run sample test
run: |
mvn compile
mvn test
- name: Mark status check completed
if: always()
uses: actions/github-script@v7
env:
conclusion: ${{ job.status }}
job_name: gauge-appium JDK ${{ matrix.java }} sample
commit_sha: ${{ github.event.inputs.commit_sha }}
with:
github-token: ${{ github.token }}
script: |
await github.rest.checks.create({
owner: context.repo.owner, repo: context.repo.repo,
name: process.env.job_name, head_sha: process.env.commit_sha,
status: 'completed', conclusion: process.env.conclusion
}).catch(e => console.log('check create failed:', e.status));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants