-
-
Notifications
You must be signed in to change notification settings - Fork 41
46 lines (39 loc) · 877 Bytes
/
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
45
46
name: Run tests
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
unit_tests:
name: Unit Tests
runs-on: macos-12
strategy:
matrix:
platform:
- iOS
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Xcode version
uses: maxim-lobanov/[email protected]
with:
xcode-version: '14'
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run UnitTests
run: bundle exec fastlane test
- name: Archive test artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: test-artifacts
path: |
./fastlane/test_output/*.xcresult