-
Notifications
You must be signed in to change notification settings - Fork 75
31 lines (25 loc) · 964 Bytes
/
e2e.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
name: Integration Testing
on: pull_request
jobs:
run-e2e-job:
runs-on: macos-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
with:
xcode-version: latest-stable
- name: Build and test
env:
api_key: ${{secrets.E2E_API_KEY}}
server_api_key: ${{secrets.E2E_SERVER_API_KEY}}
push_campaign_id: ${{secrets.E2E_PUSH_CAMPAIGN_ID}}
push_template_id: ${{secrets.E2E_PUSH_TEMPLATE_ID}}
in_app_campaign_id: ${{secrets.E2E_IN_APP_CAMPAIGN_ID}}
in_app_template_id: ${{secrets.E2E_IN_APP_TEMPLATE_ID}}
run: |
./tests/endpoint-tests/scripts/run_test.sh
- name: Create Test Report
uses: kishikawakatsumi/xcresulttool@v1
with:
path: TestResults.xcresult
if: success() || failure()