-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3710b24
commit 2253d2f
Showing
7 changed files
with
543 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
--- | ||
envs: | ||
- CODECOV_TOKEN: fake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "src/scripts"] | ||
path = src/scripts | ||
url = https://github.com/codecov/wrapper | ||
branch = main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,63 @@ | ||
--- | ||
format_version: "5" | ||
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | ||
app: | ||
envs: | ||
- CI_OPTIONS: -Z | ||
- LOCAL_OPTIONS: -Z -d | ||
- OS: macos | ||
- CI_OPTIONS: -Z | ||
- LOCAL_OPTIONS: -Z -d | ||
- OS: macos | ||
workflows: | ||
test-ci: | ||
steps: | ||
- activate-ssh-key@4: | ||
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' | ||
- git-clone@8: {} | ||
- script: | ||
inputs: | ||
- content: |- | ||
pip3 install -r app/requirements.txt | ||
pytest --cov app | ||
- path::/Users/vagrant/git: | ||
title: Step Test | ||
run_if: true | ||
is_skippable: false | ||
inputs: | ||
- CODECOV_TOKEN: $CODECOV_TOKEN | ||
- OS: $OS | ||
- other_options: $CI_OPTIONS | ||
- script: | ||
title: Step audit | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
set -ex | ||
stepman audit --step-yml ./step.yml | ||
- activate-ssh-key@4: | ||
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' | ||
- git-clone@8: {} | ||
- script: | ||
inputs: | ||
- content: |- | ||
pip3 install -r app/requirements.txt | ||
pytest --cov app | ||
- path::/Users/vagrant/git: | ||
title: Step Test | ||
run_if: true | ||
is_skippable: false | ||
inputs: | ||
- CODECOV_TOKEN: $CODECOV_TOKEN | ||
- OS: $OS | ||
- other_options: $CI_OPTIONS | ||
- script: | ||
title: Step audit | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
set -ex | ||
stepman audit --step-yml ./step.yml | ||
test-local: | ||
steps: | ||
- git-clone@8: {} | ||
- script: | ||
inputs: | ||
- content: |- | ||
pip3 install -r app/requirements.txt | ||
pytest --cov app | ||
- path::./: | ||
title: Step Test | ||
run_if: true | ||
is_skippable: false | ||
inputs: | ||
- CODECOV_TOKEN: ${CODECOV_TOKEN} | ||
- OS: $OS | ||
- other_options: $LOCAL_OPTIONS | ||
- git-clone@8: {} | ||
- script: | ||
inputs: | ||
- content: |- | ||
pip3 install -r app/requirements.txt | ||
pytest --cov app | ||
- path::./: | ||
title: Step Test | ||
run_if: true | ||
is_skippable: false | ||
inputs: | ||
- CODECOV_TOKEN: ${CODECOV_TOKEN} | ||
- OS: $OS | ||
- other_options: $LOCAL_OPTIONS | ||
audit-this-step: | ||
steps: | ||
- script: | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
set -ex | ||
stepman audit --step-yml ./step.yml | ||
- script: | ||
inputs: | ||
- content: |- | ||
#!/bin/bash | ||
set -ex | ||
stepman audit --step-yml ./step.yml | ||
trigger_map: | ||
- push_branch: main | ||
workflow: test-ci | ||
- pull_request_target_branch: main | ||
workflow: test-ci | ||
- push_branch: main | ||
workflow: test-ci | ||
- pull_request_target_branch: main | ||
workflow: test-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.