-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
bitrise.yml
40 lines (29 loc) · 924 Bytes
/
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
---
format_version: '8'
default_step_lib_source: 'https://github.com/bitrise-io/bitrise-steplib.git'
project_type: other
app:
envs:
- PACKAGE_NAME: EggSeed
workflows:
ci:
steps:
- git-clone@4: {}
- script@1:
inputs:
- content: >-
#!/usr/bin/env bash # fail if any commands fails
set -e
# debug log
set -x
pwd
ls
swift run swiftformat --lint . && swift run swiftlint
swift build
swift test --enable-code-coverage
xcrun llvm-cov export -format="lcov" .build/debug/${PACKAGE_NAME}PackageTests.xctest/Contents/MacOS/${PACKAGE_NAME}PackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov
bash <(curl https://codecov.io/bash) -F bitrise -F macOS -n
$BITRISE_BUILD_NUMBER
trigger_map:
- push_branch: '*'
workflow: ci