Skip to content

Commit 422f0ac

Browse files
committed
Set up CI with Azure Pipelines
[skip ci]
1 parent 4e03a97 commit 422f0ac

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

azure-pipelines.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
trigger:
2+
branches:
3+
include:
4+
- main
5+
- master
6+
- fix/appium-tests # Add any other branches you want to trigger the pipeline
7+
8+
pool:
9+
name: 'Default'
10+
11+
# ==============================
12+
# Variable Group
13+
# ==============================
14+
variables:
15+
- group: LambdaTest-Credentials # Assuming you have a variable group for credentials
16+
17+
# ==============================
18+
# Steps
19+
# ==============================
20+
steps:
21+
22+
# Checkout the repo to get the latest changes
23+
- checkout: self
24+
clean: true
25+
26+
# Run Android tests with the 'android' profile
27+
- script: |
28+
echo Running Android Tests with Appium
29+
mvn test -P androidWeb
30+
displayName: 'Run AndroidWeb Tests'
31+
env:
32+
LT_USERNAME: $(LT_USERNAME) # LambdaTest username (securely injected from variable group)
33+
LT_ACCESS_KEY: $(LT_ACCESS_KEY) # LambdaTest access key (securely injected from variable group)

0 commit comments

Comments
 (0)