-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (40 loc) · 1.15 KB
/
test.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
name: Test
on:
schedule:
# Runs "At 04:00 every night"
- cron: '0 4 * * *'
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
integration:
name: Integration
strategy:
matrix:
include:
- project: 'TestFrameworks'
- project: 'TestPods'
- project: 'TestXCFrameworks'
- project: 'TestXCPods'
fail-fast: false
runs-on: macos-14
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/ruby-cache
- name: Test Integration of Stream ${{ matrix.project }}
run: bundle exec fastlane test project:"${{ matrix.project }}"
timeout-minutes: 30
- uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
text: "You shall not pass!"
job_name: "${{ github.workflow }}: ${{ github.job }}"
fields: message,commit,author,action,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
MATRIX_CONTEXT: ${{ toJson(matrix) }}
if: failure()