Skip to content

Commit

Permalink
Merge pull request #30 from saucelabs/ap-spotlight
Browse files Browse the repository at this point in the history
  • Loading branch information
alexplischke authored Jun 3, 2024
2 parents 996350a + f7b1449 commit 18c369f
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @saucelabs/devx
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Description
<!--
Describe the big picture of your changes here to communicate to the maintainers
why we should accept this pull request. If it fixes a bug or resolves a feature
request, be sure to link to that issue.
-->
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Saucectl RUN Sauce Cloud
uses: saucelabs/saucectl-run-action@v3
- name: Run saucectl
uses: saucelabs/saucectl-run-action@v4
with:
concurrency: 10

cucumber-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Espresso with Cucumber
uses: saucelabs/saucectl-run-action@v3
- name: Run saucectl
uses: saucelabs/saucectl-run-action@v4
with:
concurrency: 10
working-directory: ./examples/cucumber
4 changes: 4 additions & 0 deletions .sauce/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ artifacts:
match:
- junit.xml
directory: ./artifacts/

reporters:
spotlight: # Prints an overview of failed or otherwise interesting jobs.
enabled: true
9 changes: 6 additions & 3 deletions .sauce/full-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ suites:
- id: LG_Q6_real_us
platformVersion: "8.0.0"

# To remove all shared state from your device's CPU and memory after each test, use the clearPackageData + useTestOrchestrator flag.
# Supported on real devices only.
# https://developer.android.com/training/testing/junit-runner#using-android-test-orchestrator
# To remove all shared state from your device's CPU and memory after each test, use the clearPackageData + useTestOrchestrator flag.
# Supported on real devices only.
# https://developer.android.com/training/testing/junit-runner#using-android-test-orchestrator
- name: "saucy barista - clear package data"
testOptions:
clearPackageData: true
Expand Down Expand Up @@ -78,3 +78,6 @@ artifacts:
- junit.xml
directory: ./artifacts/

reporters:
spotlight: # Prints an overview of failed or otherwise interesting jobs.
enabled: true
7 changes: 5 additions & 2 deletions examples/cucumber/.sauce/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ sauce:
region: us-west-1
concurrency: 10 # Controls how many suites are executed at the same time (sauce test env only).
metadata:
name: Testing Cucumber and Espresso Support
tags:
- e2e
- release team
- other tag
build: Release $CI_COMMIT_SHORT_SHA
build: Release $CI_COMMIT_SHORT_SHA
espresso:
app: ./apps/espresso-cucumber.apk
testApp: ./apps/espresso-cucumber-success.apk
Expand All @@ -26,3 +25,7 @@ artifacts:
match:
- "*junit.xml"
directory: ./artifacts/

reporters:
spotlight: # Prints an overview of failed or otherwise interesting jobs.
enabled: true

0 comments on commit 18c369f

Please sign in to comment.