-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 889 Bytes
/
CI.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
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: macOS-14
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/[email protected]
with:
xcode-version: 15.4
- name: Bundle install
run: bundle install
- name: Run iOS tests
run: make test-ios
- name: Build tvOS
run: make build-tvos
- name: Danger action
uses: MeilCli/[email protected]
if: github.event_name == 'pull_request'
with:
plugins_file: 'Gemfile'
install_path: 'vendor/bundle'
danger_file: 'Dangerfile'
danger_id: 'danger-pr'
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
swift: true
swift_project: MagicImages
verbose: true