-
Notifications
You must be signed in to change notification settings - Fork 2
/
semaphore.yml
39 lines (38 loc) · 938 Bytes
/
semaphore.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
version: v1.0
name: OakOTP CI
agent:
machine:
type: a1-standard-4
os_image: macos-xcode12
global_job_config:
prologue:
commands:
- checkout
- gem install bundler -v "$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1)"
- cache restore
- bundle install --path vendor/bundle
- cache store
blocks:
- name: Fastlane Tests
task:
env_vars:
- name: LANG
value: en_US.UTF-8
jobs:
- name: Run tests & upload coverage
commands:
- bundle exec fastlane test
- 'bash <(curl -s https://codecov.io/bash) -J ''Oak'''
secrets:
- name: Codecov
epilogue:
always:
commands:
- test-results publish fastlane/test_output/report.xml
dependencies: []
after_pipeline:
task:
jobs:
- name: Publish Test Results
commands:
- test-results gen-pipeline-report