Loading .gitlab-ci.yml +6 −4 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ stages: # ------------------------------------ # test the format conversion only test_audiotools_convert: .test_audiotools_convert: stage: test tags: - linux Loading @@ -35,7 +35,7 @@ test_audiotools_convert: - python3 -m pytest -n auto tests/test_audiotools_convert.py # run some test configs for item creation test_processing: .test_processing: stage: test tags: - linux Loading Loading @@ -64,11 +64,13 @@ format: - linux allow_failure: true script: - mkdir $ARTIFACT_FOLDER - isort_diff_file="$ARTIFACT_BASE_NAME--isort-formatting-fix.patch" - isort --df --check --color --profile black . | tee $ARTIFACT_FOLDER/$isort_diff_files || ret_val_isort=$? - isort --df --check --color --profile black . | tee ${ARTIFACT_FOLDER}/${isort_diff_file} || ret_val_isort=$? - black_diff_file="$ARTIFACT_BASE_NAME--black-formatting-fix.patch" - black --diff --check . | tee $ARTIFACT_FOLDER/$black_diff_file || ret_val_black=$? - black --diff --check . | tee ${ARTIFACT_FOLDER}/${black_diff_file} || ret_val_black=$? - if [[ $ret_val_isort != 0 || $ret_val_black != 0 ]]; then exit 1; fi artifacts: paths: Loading Loading
.gitlab-ci.yml +6 −4 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ stages: # ------------------------------------ # test the format conversion only test_audiotools_convert: .test_audiotools_convert: stage: test tags: - linux Loading @@ -35,7 +35,7 @@ test_audiotools_convert: - python3 -m pytest -n auto tests/test_audiotools_convert.py # run some test configs for item creation test_processing: .test_processing: stage: test tags: - linux Loading Loading @@ -64,11 +64,13 @@ format: - linux allow_failure: true script: - mkdir $ARTIFACT_FOLDER - isort_diff_file="$ARTIFACT_BASE_NAME--isort-formatting-fix.patch" - isort --df --check --color --profile black . | tee $ARTIFACT_FOLDER/$isort_diff_files || ret_val_isort=$? - isort --df --check --color --profile black . | tee ${ARTIFACT_FOLDER}/${isort_diff_file} || ret_val_isort=$? - black_diff_file="$ARTIFACT_BASE_NAME--black-formatting-fix.patch" - black --diff --check . | tee $ARTIFACT_FOLDER/$black_diff_file || ret_val_black=$? - black --diff --check . | tee ${ARTIFACT_FOLDER}/${black_diff_file} || ret_val_black=$? - if [[ $ret_val_isort != 0 || $ret_val_black != 0 ]]; then exit 1; fi artifacts: paths: Loading