forked from forcedotcom/SalesforceMobileSDK-Android
-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (40 loc) · 1.15 KB
/
Copy pathnightly.yaml
File metadata and controls
42 lines (40 loc) · 1.15 KB
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
42
name: Nightly Tests
on:
schedule:
- cron: "0 6 * * 2,6" # cron is UTC, this translates to 10 PM PST Mon and Fri.
# This lets us trigger the workflow from a browser.
workflow_dispatch:
# Run the native libraries first so that the native, Hybrid and React MobileSync tests
# don't run simultaniously (to prevents flappers).
jobs:
android-nightly-core:
strategy:
fail-fast: false
matrix:
lib: [SalesforceAnalytics, SalesforceSDK, SmartStore, MobileSync]
uses: ./.github/workflows/reusable-workflow.yaml
with:
lib: ${{ matrix.lib }}
secrets: inherit
android-nightly-Hybrid:
if: success() || failure()
needs: [android-nightly-core]
strategy:
fail-fast: false
matrix:
lib: [SalesforceHybrid]
uses: ./.github/workflows/reusable-workflow.yaml
with:
lib: ${{ matrix.lib }}
secrets: inherit
android-nightly-React:
if: success() || failure()
needs: [android-nightly-Hybrid]
strategy:
fail-fast: false
matrix:
lib: [SalesforceReact]
uses: ./.github/workflows/reusable-workflow.yaml
with:
lib: ${{ matrix.lib }}
secrets: inherit