Skip to content

Commit 3b388ba

Browse files
fix: update bitrise.yml
1 parent b7ed505 commit 3b388ba

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

.github/workflows/ci.yml

-6
Original file line numberDiff line numberDiff 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 }}

bitrise.yml

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
---
2-
format_version: '13'
1+
format_version: "13"
32
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
43
project_type: other
54
workflows:
@@ -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: {}
1626
meta:
1727
bitrise.io:
@@ -20,6 +30,5 @@ meta:
2030
trigger_map:
2131
- push_branch: main
2232
workflow: primary
23-
- pull_request_source_branch: "*"
33+
- pull_request_source_branch: '*'
2434
workflow: primary
25-

0 commit comments

Comments
 (0)