-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (34 loc) · 1.02 KB
/
fastlane-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
name: Fastlane Tests
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: macos-13
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: actions/checkout@v4
- name: Use sample configuration
run: cp BeeKit/Config.swift.sample BeeKit/Config.swift
- name: Setup ruby and install gems
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7.2'
bundler-cache: true
- name: Run tests
run: bundle exec fastlane ci
- name: Upload report
uses: actions/upload-artifact@v4
if: always() # always run even if the previous step fails
with:
name: test-output
path: fastlane/test_output
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: always() # always run even if the previous step fails
with:
report_paths: 'fastlane/test_output/report.junit'