-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (36 loc) · 946 Bytes
/
unit-tests.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
name: Unit-Tests
on:
push:
branches:
- main
pull_request:
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
jobs:
job-unit-tests:
name: AllUnitTests
runs-on: macOS-latest
steps:
- name: Checkout Git
uses: actions/checkout@v2
- name: ruby versions
run: |
ruby --version
gem --version
bundler --version
- name: Cache Gems
uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Install bundles
run: |
bundle config path Vendor/Bundle
bundle install --without=documentation --jobs 4 --retry 3
- name: Run AllUnitTests
run: bundle exec fastlane unit_tests
- name: Codecov
run: |
Fastlane/codecov.sh