This repository was archived by the owner on Oct 30, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 87
54 lines (54 loc) · 1.63 KB
/
core_data_tests.yml
File metadata and controls
54 lines (54 loc) · 1.63 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
name: CI
on:
pull_request:
branches-ignore: #All branches
- ignore
jobs:
validate-and-test:
runs-on: macOS-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache RubyGems
uses: actions/cache@v2.1.3
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Cache Pods
uses: actions/cache@v2.1.3
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Cache Mint packages
uses: actions/cache@v2.1.3
with:
path: ${{ env.MINT_PATH }}
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }}
restore-keys: |
${{ runner.os }}-mint-
- name: Cache Swift Package Manager
uses: actions/cache@v2.1.3
with:
path: .build
key: ${{ runner.os }}-spm-${{ github.workspace }}-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-${{ github.workspace }}
- name: Install dependencies
run: |
sh ./bootstrap.sh
pod install
- name: Run code validation
uses: actions/checkout@v1
with:
args: --failOnErrors --no-publish-check
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_TOKEN }}
- name: Run tests
run: bundle exec fastlane scan
env:
MINT_PATH: ${{ github.workspace }}/min