-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbitrise.yml
51 lines (48 loc) · 1.42 KB
/
bitrise.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
47
48
49
50
51
format_version: 1.1.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- SAMPLE_APP_REPOSITORY_URL: https://github.com/bitrise-samples/example-swift.git
# define these in your .bitrise.secrets.yml
- CODECOV_TOKEN: $CODECOV_TOKEN
- OPTIONS: $OPTIONS
- OS: $OS
- VERSION: $VERSION
workflows:
# ----------------------------------------------------------------
# --- workflow to Step Test
test:
steps:
- script:
title: Step audit
inputs:
- content: stepman audit --step-yml=./step.yml
- change-workdir:
title: Switch working dir to proj dir
description: |-
To prevent step testing issues, like referencing relative
files with just './some-file', which would work for local tests
but not if the step is included in another bitrise.yml!
run_if: true
inputs:
- path: ./_tmp
- is_create_path: true
- script:
title: Git clone codecov sample project
inputs:
- content: git clone -b master $SAMPLE_APP_REPOSITORY_URL ./
- script:
title: Run Test build
inputs:
- content: |
#!/bin/bash
set -e
set -x
./test.sh
- path::./:
title: Step Test
run_if: true
is_skippable: false
inputs:
- CODECOV_TOKEN: $CODECOV_TOKEN
- other_options: $OPTIONS