Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,12 @@ updates:
commit-message:
prefix: "chore"
include: "scope"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
commit-message:
prefix: "chore"
include: "scope"
32 changes: 24 additions & 8 deletions .github/workflows/functional-test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
name: Functional Tests

on: [pull_request]
on:
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- '*.md'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
CI: true

jobs:
test:

# https://github.com/actions/runner-images/tree/main/images/macos
strategy:
matrix:
Expand All @@ -21,24 +32,29 @@ jobs:
fail-fast: false

env:
CI: true
_FORCE_LOGS: 1
DEVICE_NAME: ${{ matrix.deviceName }}
XCODE_VERSION: ${{ matrix.xcodeVersion }}
IOS_SDK: ${{ matrix.iosVersion }}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v6

- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: lts/*
check-latest: true
- uses: maxim-lobanov/setup-xcode@v1
node-version: 'lts/*'

- name: Select Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "${{ matrix.xcodeVersion }}"

- run: xcrun simctl list
name: List devices

- run: npm install
name: Install dev dependencies

- run: npm run e2e-test
name: Run e2e tests on Xcode@${{ matrix.xcodeVersion }}
12 changes: 3 additions & 9 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,8 @@ on:
pull_request:
types: [opened, edited, synchronize, reopened]


jobs:
lint:
name: https://www.conventionalcommits.org
runs-on: ubuntu-latest
steps:
- uses: beemojs/conventional-pr-action@v3
with:
config-preset: angular
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: appium/appium-workflows/.github/workflows/pr-title.yml@main
with:
config-preset: angular
37 changes: 23 additions & 14 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,40 @@
name: Unit Tests

on: [pull_request, push]
on:
pull_request:
branches: [ master ]
paths-ignore:
- 'docs/**'
- '*.md'
push:
branches: [ master ]
paths-ignore:
- 'docs/**'
- '*.md'


jobs:
prepare_matrix:
runs-on: ubuntu-latest
outputs:
versions: ${{ steps.generate-matrix.outputs.lts }}
steps:
- name: Select LTS versions of Node.js
id: generate-matrix
uses: msimerson/node-lts-versions@v1
node_matrix:
uses: appium/appium-workflows/.github/workflows/node-lts-matrix.yml@main

test:
needs:
- prepare_matrix
- node_matrix
strategy:
fail-fast: false
matrix:
node-version: ${{ fromJSON(needs.prepare_matrix.outputs.versions) }}
node-version: ${{ fromJSON(needs.node_matrix.outputs.versions) }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: npm install --no-package-lock
check-latest: true
- uses: SocketDev/action@v1
with:
mode: firewall-free
- run: sfw npm install --no-package-lock
name: Install dev dependencies
- run: npm run lint
name: Run linter
Expand Down