-
-
Notifications
You must be signed in to change notification settings - Fork 729
38 lines (31 loc) · 954 Bytes
/
appiumV2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Appium V2 Tests
on:
push:
branches:
- 3.x
- consolidate-test-env-in-gha
env:
CI: true
# Force terminal colors. @see https://www.npmjs.com/package/colors
FORCE_COLOR: 1
NODE_VERSION: 20.x
PLATFORM: ubuntu-22.04
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
jobs:
AppiumTests:
runs-on: $PLATFORM
strategy:
matrix:
node-version: [$NODE_VERSION]
test-suite: ['appium-quick', 'appium-other', 'ios:appium-quick', 'ios:appium-other']
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v4
- name: Appium common steps
uses: CodeceptJS/CodeceptJS/.github/actions/checkoutAndInstallLibs.steps.yml
- name: Run Appium Tests
run: npm run test:${{ matrix.test-suite }}