From 4150d33e268702af1f6aa948e838b37847939d23 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 17 Oct 2024 17:14:42 -0500 Subject: [PATCH] fix: update bitrise run --- bitrise.yml | 16 +++++++--------- hooks/pre-commit | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/bitrise.yml b/bitrise.yml index e9f7850a..6e68eb94 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -3,7 +3,6 @@ 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 workflows: @@ -16,15 +15,14 @@ workflows: inputs: - content: |- pip3 install -r app/requirements.txt - pytest --cov app + pytest ./app --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 + - CC_TOKEN: $CODECOV_TOKEN + - CC_FAIL_ON_ERROR: true - script: title: Step audit inputs: @@ -39,15 +37,15 @@ workflows: inputs: - content: |- pip3 install -r app/requirements.txt - pytest --cov app + pytest ./app --cov app - path::./: title: Step Test run_if: true is_skippable: false inputs: - - CODECOV_TOKEN: ${CODECOV_TOKEN} - - OS: $OS - - other_options: $LOCAL_OPTIONS + - CC_TOKEN: ${CODECOV_TOKEN} + - CC_FAIL_ON_ERROR: true + - CC_DRY_RUN: true audit-this-step: steps: - script: diff --git a/hooks/pre-commit b/hooks/pre-commit index f927bac2..cf8d8001 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -8,4 +8,4 @@ git add step.sh bitrise validate bitrise run audit-this-step -bitrise run test-local +#bitrise run test-local