-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (38 loc) · 1.42 KB
/
optional-sdk-tests.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
39
40
41
name: Build and test app with optional SDKs
on:
pull_request:
types:
- opened
- synchronize
jobs:
optional-sdk-tests:
name: Optional SDK Tests
runs-on: macos-13-large
strategy:
max-parallel: 3
matrix:
package-swift:
- { name: 'nol-pay', file: 'Package.NolPay.swift' }
- { name: 'klarna', file: Package.Klarna.swift }
steps:
- name: Cancel previous jobs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # v0.12.1
with:
access_token: ${{ github.token }}
- name: Git - Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: ${{ github.ref }}
- name: Run SDK tests
uses: ./.github/actions/sdk-tests
with:
ssh-private-key: ${{ secrets.SSH_KEY }}
known-hosts: ${{ secrets.KNOWN_HOSTS }}
match-password: ${{ secrets.MATCH_PASSWORD }}
match-git-private-key: ${{ secrets.FASTLANE_PASSWORD }}
fastlane-session: ${{ secrets.FASTLANE_SESSION }}
fastlane-password: ${{ secrets.FASTLANE_PASSWORD }}
match-keychain-name: ${{ secrets.MATCH_KEYCHAIN_NAME }}
match-keychain-password: ${{ secrets.MATCH_KEYCHAIN_PASSWORD }}
coverage-file-name: sonar-coverage-${{ matrix.package-swift.name }}.xml
package-swift: ${{ matrix.package-swift.file }}