File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed
Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,11 @@ jobs:
1414 python-version : ' 3.10'
1515 - name : Install dependencies
1616 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 }}
2217 - name : Run tests and collect coverage
2318 run : pytest --cov app ${{ env.CODECOV_ATS_TESTS }}
2419 - name : Upload coverage to Codecov
2520 uses : codecov/codecov-action@v4
2621 with :
27- flags : smart-tests
2822 verbose : true
2923 env :
3024 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1- ---
2- format_version : ' 13'
1+ format_version : " 13"
32default_step_lib_source : https://github.com/bitrise-io/bitrise-steplib.git
43project_type : other
54workflows :
@@ -8,10 +7,21 @@ workflows:
87 - activate-ssh-key@4 :
98 run_if : ' {{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
109 - 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
1121 - codecov@3 :
1222 inputs :
1323 - OS : macos
14- - CODECOV_TOKEN : " $CODECOV_TOKEN"
24+ - CODECOV_TOKEN : $CODECOV_TOKEN
1525 - deploy-to-bitrise-io@2 : {}
1626meta :
1727 bitrise.io :
2030trigger_map :
2131- push_branch : main
2232 workflow : primary
23- - pull_request_source_branch : " * "
33+ - pull_request_source_branch : ' * '
2434 workflow : primary
25-
You can’t perform that action at this time.
0 commit comments