Loading .gitlab-ci.yml +10 −1 Original line number Diff line number Diff line Loading @@ -6,6 +6,11 @@ default: interruptible: true stages: - test - analyze # script anchor for updating the codec repo .get-codec-binaries: &get-codec-binaries - dir=$(pwd) Loading @@ -23,6 +28,7 @@ default: # test the format conversion only test_audiotools_convert: stage: test tags: - linux script: Loading @@ -30,6 +36,7 @@ test_audiotools_convert: # run some test configs for item creation test_processing: stage: test tags: - linux script: Loading @@ -41,6 +48,7 @@ test_processing: # ------------------------------------ lint: stage: analyze tags: - linux allow_failure: true Loading @@ -48,10 +56,11 @@ lint: - flake8 --max-line-length 88 --extend-ignore=E203,E501,E741 format: stage: analyze tags: - linux allow_failure: true script: - isort --df --check --color --profile black . || ret_val_isort=$? - black --diff --check . || ret_val_black=$? - exit ! (( $ret_val_isort || $ret_val_black )) - ! (( $ret_val_isort || $ret_val_black )) Loading
.gitlab-ci.yml +10 −1 Original line number Diff line number Diff line Loading @@ -6,6 +6,11 @@ default: interruptible: true stages: - test - analyze # script anchor for updating the codec repo .get-codec-binaries: &get-codec-binaries - dir=$(pwd) Loading @@ -23,6 +28,7 @@ default: # test the format conversion only test_audiotools_convert: stage: test tags: - linux script: Loading @@ -30,6 +36,7 @@ test_audiotools_convert: # run some test configs for item creation test_processing: stage: test tags: - linux script: Loading @@ -41,6 +48,7 @@ test_processing: # ------------------------------------ lint: stage: analyze tags: - linux allow_failure: true Loading @@ -48,10 +56,11 @@ lint: - flake8 --max-line-length 88 --extend-ignore=E203,E501,E741 format: stage: analyze tags: - linux allow_failure: true script: - isort --df --check --color --profile black . || ret_val_isort=$? - black --diff --check . || ret_val_black=$? - exit ! (( $ret_val_isort || $ret_val_black )) - ! (( $ret_val_isort || $ret_val_black ))