forked from codecov/example-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitrise.yml
34 lines (33 loc) · 849 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
format_version: "13"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: other
workflows:
primary:
steps:
- activate-ssh-key@4:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@8: {}
- script@1:
inputs:
- script_file_path: null
- content: |
#!/usr/bin/env bash
set -e
set -o pipefail
set -x # debug log
pip3 install -r requirements.txt
pytest --cov app
- codecov@3:
inputs:
- OS: macos
- CODECOV_TOKEN: $CODECOV_TOKEN
- deploy-to-bitrise-io@2: {}
meta:
bitrise.io:
stack: osx-xcode-14.3.x-ventura
machine_type_id: g2-m1.4core
trigger_map:
- push_branch: main
workflow: primary
- pull_request_source_branch: '*'
workflow: primary