-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (40 loc) · 1.15 KB
/
build_and_test.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
name: Build and Test GoldenSampeApp
on:
push:
branches: [main]
paths-ignore:
- "**.md"
pull_request:
branches: [main]
paths-ignore:
- "**.md"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-tests:
runs-on: macos-13
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Install Gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup environment
uses: ./.github/actions/setup-environment
with:
bb_artifactory_ios_username: ${{ secrets.REPO_USERNAME }}
bb_artifactory_ios_password: ${{ secrets.REPO_PASSWORD }}
- name: Xcode Select Version
uses: mobiledevops/xcode-select-version-action@v1
with:
xcode-select-version: 15.2
- name: Generate the project file
run: bundle exec fastlane setup
- name: Run tests
run: bundle exec fastlane test
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}