Skip to content

Commit 372f4b0

Browse files
committed
renamed show_reports to test_reports & added example for set_browserstack_config
1 parent 52a5414 commit 372f4b0

File tree

4 files changed

+30
-1
lines changed

4 files changed

+30
-1
lines changed

src/commands/show_report.yml renamed to src/commands/test_reports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ parameters:
99
steps:
1010
- run:
1111
name: Show & Upload Report
12-
command: <<include(scripts/show_report.sh)>>
12+
command: <<include(scripts/test_reports.sh)>>
1313
environment:
1414
USER_TIMEOUT: <<parameters.user_timeout>>
1515
- store_artifacts:
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
description: |
2+
This example demonstrates how to set BrowserStack config in Job Scope.
3+
4+
usage:
5+
version: 2.1
6+
orbs:
7+
browserstack-circleci-orb: browserstack/[email protected]
8+
9+
jobs:
10+
my_test_job:
11+
executor: default
12+
environment:
13+
BROWSERSTACK_USERNAME: "xxx"
14+
BROWSERSTACK_ACCESS_KEY: "yyy"
15+
BROWSERSTACK_LOCAL: false
16+
BROWSERSTACK_LOCAL_IDENTIFIER: "identifier"
17+
18+
steps:
19+
- checkout
20+
- browserstack-circleci-orb/set_browserstack_config
21+
- run:
22+
name: Run Test
23+
command: |
24+
echo "Browserstack build name: $BROWSERSTACK_BUILD_NAME"
25+
npm run test
26+
workflows:
27+
set-rerun-tests-example:
28+
jobs:
29+
- my_test_job
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)