Loading .gitlab-ci.yml +2 −5 Original line number Diff line number Diff line Loading @@ -125,10 +125,6 @@ stages: - cp -r $SCRIPTS_DIR/tests . - cp $SCRIPTS_DIR/pytest.ini . .pytest-check-results: &pytest-check-results - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -eq 1 ]; then echo "Differences encountered"; exit $EXIT_CODE_NON_BE; fi .apply-testv-scaling: &apply-testv-scaling - echo "Applying level scaling in scripts/testv using scale=$LEVEL_SCALING" - tests/scale_pcm.py ./scripts/testv/ $LEVEL_SCALING Loading Loading @@ -219,7 +215,8 @@ stages: - python3 scripts/parse_mld_xml.py report-junit.xml mld.csv - *pytest-check-results - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -eq 1 ]; then echo "Differences encountered"; exit $EXIT_CODE_NON_BE; fi - exit 0 allow_failure: Loading Loading
.gitlab-ci.yml +2 −5 Original line number Diff line number Diff line Loading @@ -125,10 +125,6 @@ stages: - cp -r $SCRIPTS_DIR/tests . - cp $SCRIPTS_DIR/pytest.ini . .pytest-check-results: &pytest-check-results - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -eq 1 ]; then echo "Differences encountered"; exit $EXIT_CODE_NON_BE; fi .apply-testv-scaling: &apply-testv-scaling - echo "Applying level scaling in scripts/testv using scale=$LEVEL_SCALING" - tests/scale_pcm.py ./scripts/testv/ $LEVEL_SCALING Loading Loading @@ -219,7 +215,8 @@ stages: - python3 scripts/parse_mld_xml.py report-junit.xml mld.csv - *pytest-check-results - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -eq 1 ]; then echo "Differences encountered"; exit $EXIT_CODE_NON_BE; fi - exit 0 allow_failure: Loading