Loading .gitlab-ci.yml +23 −12 Original line number Diff line number Diff line Loading @@ -6,6 +6,13 @@ default: interruptible: true workflow: rules: # see https://docs.gitlab.com/ee/ci/yaml/workflow.html#switch-between-branch-pipelines-and-merge-request-pipelines - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push" when: never stages: - check - test Loading Loading @@ -57,9 +64,23 @@ test_audiotools_convert: - *print-common-info - python3 -m pytest -n auto tests/test_audiotools_convert.py # run the test configs for the selection experiments experiments: stage: test tags: - linux script: - *print-common-info - *get-codec-binaries - python3 -m pytest -n auto tests/test_experiments.py # run some test configs for item creation test_processing: stage: test rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - if: $CI_PIPELINE_SOURCE == 'push' when: never tags: - linux script: Loading @@ -73,6 +94,7 @@ test_processing: lint: stage: analyze needs: [] tags: - linux allow_failure: true Loading @@ -81,6 +103,7 @@ lint: format: stage: analyze needs: [] variables: ARTIFACT_BASE_NAME: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--formatting-fix" ARTIFACT_FOLDER: "formatting-patch" Loading @@ -103,15 +126,3 @@ format: when: on_failure name: "$ARTIFACT_BASE_NAME" expose_as: "formatting patch" experiments: stage: test tags: - linux #rules: #- when: manual needs: [] script: - *print-common-info - *get-codec-binaries - python3 -m pytest -n auto tests/test_experiments.py Loading
.gitlab-ci.yml +23 −12 Original line number Diff line number Diff line Loading @@ -6,6 +6,13 @@ default: interruptible: true workflow: rules: # see https://docs.gitlab.com/ee/ci/yaml/workflow.html#switch-between-branch-pipelines-and-merge-request-pipelines - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push" when: never stages: - check - test Loading Loading @@ -57,9 +64,23 @@ test_audiotools_convert: - *print-common-info - python3 -m pytest -n auto tests/test_audiotools_convert.py # run the test configs for the selection experiments experiments: stage: test tags: - linux script: - *print-common-info - *get-codec-binaries - python3 -m pytest -n auto tests/test_experiments.py # run some test configs for item creation test_processing: stage: test rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - if: $CI_PIPELINE_SOURCE == 'push' when: never tags: - linux script: Loading @@ -73,6 +94,7 @@ test_processing: lint: stage: analyze needs: [] tags: - linux allow_failure: true Loading @@ -81,6 +103,7 @@ lint: format: stage: analyze needs: [] variables: ARTIFACT_BASE_NAME: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--formatting-fix" ARTIFACT_FOLDER: "formatting-patch" Loading @@ -103,15 +126,3 @@ format: when: on_failure name: "$ARTIFACT_BASE_NAME" expose_as: "formatting patch" experiments: stage: test tags: - linux #rules: #- when: manual needs: [] script: - *print-common-info - *get-codec-binaries - python3 -m pytest -n auto tests/test_experiments.py