fix: deprecate appium 1.x #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Appium V2 Tests | |
on: | |
push: | |
branches: | |
- 3.x | |
- appium-v1-deprecation | |
env: | |
CI: true | |
# Force terminal colors. @see https://www.npmjs.com/package/colors | |
FORCE_COLOR: 1 | |
jobs: | |
appium1: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install --legacy-peer-deps | |
env: | |
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true | |
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true | |
- run: 'npm run test:appium-quick' | |
env: # Or as an environment variable | |
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | |
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | |
appium2: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install --legacy-peer-deps | |
env: | |
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true | |
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true | |
- run: 'npm run test:appium-other' | |
env: # Or as an environment variable | |
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | |
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} |