-
Notifications
You must be signed in to change notification settings - Fork 6
52 lines (50 loc) · 2 KB
/
e2e-harness-android.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
42
43
44
45
46
47
48
49
50
51
52
name: E2E Harness App (Android)
defaults:
run:
shell: zsh -l {0}
on:
workflow_dispatch:
push:
branches:
- main
- 'release/**'
paths-ignore:
- 'docs/**'
- '**/README.md'
pull_request:
types: [labeled]
jobs:
e2e-harness-android:
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event.label.name == 'e2e-harness-android' || github.event.label.name == 'e2e' }}
runs-on: [self-hosted, macos, intel]
steps:
- uses: actions/checkout@v2
- name: Setup
run: |
yarn config set network-timeout 300000
- name: Bootstrap
run: |
yarn bootstrap-clean
- name: E2E Harness App Android
run: |
yarn e2e-harness-android
# Commented because e2e tests would fail due to harness builds not working and minion issues
# - name: Post message to Slack via Webhook
# if: ${{ github.event_name == 'push' && failure() }}
# uses: slackapi/slack-github-action@v1.23.0
# with:
# payload: |
# {
# "text": "<!here> *Harness Android e2e tests FAILED after* <${{ github.event.pull_request.html_url || github.event.head_commit.url }}|push> :alert:",
# "blocks": [
# {
# "type": "section",
# "text": {
# "type": "mrkdwn",
# "text": "<!here> *Harness Android e2e tests FAILED after* <${{ github.event.pull_request.html_url || github.event.head_commit.url }}|push> :alert:"
# }
# }
# ]
# }
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}