File tree 2 files changed +14
-11
lines changed
2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,11 @@ jobs:
14
14
python-version : ' 3.10'
15
15
- name : Install dependencies
16
16
run : pip install -r requirements.txt
17
- - name : Run ATS
18
- uses : codecov/codecov-ats@v0
19
- env :
20
- CODECOV_STATIC_TOKEN : ${{ secrets.CODECOV_STATIC_TOKEN }}
21
- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
22
17
- name : Run tests and collect coverage
23
18
run : pytest --cov app ${{ env.CODECOV_ATS_TESTS }}
24
19
- name : Upload coverage to Codecov
25
20
uses : codecov/codecov-action@v4
26
21
with :
27
- flags : smart-tests
28
22
verbose : true
29
23
env :
30
24
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1
- ---
2
- format_version : ' 13'
1
+ format_version : " 13"
3
2
default_step_lib_source : https://github.com/bitrise-io/bitrise-steplib.git
4
3
project_type : other
5
4
workflows :
@@ -8,10 +7,21 @@ workflows:
8
7
- activate-ssh-key@4 :
9
8
run_if : ' {{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
10
9
- git-clone@8 : {}
10
+ - script@1 :
11
+ inputs :
12
+ - script_file_path : null
13
+ - content : |
14
+ #!/usr/bin/env bash
15
+ set -e
16
+ set -o pipefail
17
+ set -x # debug log
18
+
19
+ pip install -r requirements.txt
20
+ pytest --cov app
11
21
- codecov@3 :
12
22
inputs :
13
23
- OS : macos
14
- - CODECOV_TOKEN : " $CODECOV_TOKEN"
24
+ - CODECOV_TOKEN : $CODECOV_TOKEN
15
25
- deploy-to-bitrise-io@2 : {}
16
26
meta :
17
27
bitrise.io :
20
30
trigger_map :
21
31
- push_branch : main
22
32
workflow : primary
23
- - pull_request_source_branch : " * "
33
+ - pull_request_source_branch : ' * '
24
34
workflow : primary
25
-
You can’t perform that action at this time.
0 commit comments