-
Notifications
You must be signed in to change notification settings - Fork 393
57 lines (54 loc) · 1.84 KB
/
Copy pathnightly.yaml
File metadata and controls
57 lines (54 loc) · 1.84 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Nightly Tests
on:
schedule:
- cron: "30 6 * * 2-6" # cron is UTC; 10:30 PM PT every weekday (Mon-Fri).
# This lets us trigger the workflow from a browser.
workflow_dispatch:
permissions:
contents: read
# Run the native libraries first so that the native and Hybrid MobileSync tests
# don't run simultaneously (to prevent flappers).
jobs:
android-nightly:
permissions:
contents: read
pull-requests: write
strategy:
fail-fast: false
matrix:
lib: [SalesforceAnalytics, SalesforceSDK, SmartStore, MobileSync]
uses: ./.github/workflows/reusable-lib-workflow.yaml
with:
lib: ${{ matrix.lib }}
secrets:
TEST_CREDENTIALS: ${{ secrets.TEST_CREDENTIALS }}
GCLOUD_SERVICE_KEY: ${{ secrets.GCLOUD_SERVICE_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
android-nightly-Hybrid:
permissions:
contents: read
pull-requests: write
if: success() || failure()
needs: [android-nightly]
strategy:
fail-fast: false
matrix:
lib: [SalesforceHybrid]
uses: ./.github/workflows/reusable-lib-workflow.yaml
with:
lib: ${{ matrix.lib }}
secrets:
TEST_CREDENTIALS: ${{ secrets.TEST_CREDENTIALS }}
GCLOUD_SERVICE_KEY: ${{ secrets.GCLOUD_SERVICE_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
android-nightly-UI-Tests:
permissions:
contents: read
pull-requests: write
uses: ./.github/workflows/reusable-ui-workflow.yaml
secrets:
MSDK_ANDROID_REMOTE_ACCESS_CALLBACK_URL: ${{ secrets.MSDK_ANDROID_REMOTE_ACCESS_CALLBACK_URL }}
MSDK_ANDROID_REMOTE_ACCESS_CONSUMER_KEY: ${{ secrets.MSDK_ANDROID_REMOTE_ACCESS_CONSUMER_KEY }}
UI_TEST_CONFIG: ${{ secrets.UI_TEST_CONFIG }}
GCLOUD_SERVICE_KEY: ${{ secrets.GCLOUD_SERVICE_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}