Skip to content
Snippets Groups Projects
Commit 677aecf7 authored by Corné Lukken's avatar Corné Lukken
Browse files

Update jobs to fail if unimplemented

parent 4b8331de
No related branches found
No related tags found
1 merge request!1Initial binary wheel setup
Pipeline #52978 failed
Pipeline: Python Binary Wheel Package

#52979

    ...@@ -10,8 +10,6 @@ default: ...@@ -10,8 +10,6 @@ default:
    stages: stages:
    - prepare - prepare
    - lint - lint
    # check if this needs to be a separate step
    # - build_extensions
    - test - test
    - package - package
    - integration - integration
    ...@@ -47,11 +45,6 @@ run_pylint: ...@@ -47,11 +45,6 @@ run_pylint:
    - tox -e pylint - tox -e pylint
    allow_failure: true allow_failure: true
    # build_extensions:
    # stage: build_extensions
    # script:
    # - echo "build fortran/c/cpp extension source code"
    # Basic setup for all Python versions for which we don't have a base image # Basic setup for all Python versions for which we don't have a base image
    .run_unit_test_version_base: .run_unit_test_version_base:
    before_script: before_script:
    ...@@ -91,25 +84,29 @@ package_files: ...@@ -91,25 +84,29 @@ package_files:
    paths: paths:
    - dist/* - dist/*
    script: script:
    - tox -e build - tox -e build-ci-linux
    package_docs: package_docs:
    stage: package stage: package
    allow_failure: true
    artifacts: artifacts:
    expire_in: 1w expire_in: 1w
    paths: paths:
    - docs/* # update path to match the dest dir for documentation - docs/* # update path to match the dest dir for documentation
    script: script:
    - echo "build and collect docs" - echo "build and collect docs"
    - exit 1
    run_integration_tests: run_integration_tests:
    stage: integration stage: integration
    allow_failure: true
    needs: needs:
    - package_files - package_files
    script: script:
    - echo "make sure to move out of source dir" - echo "make sure to move out of source dir"
    - echo "install package from filesystem (or use the artefact)" - echo "install package from filesystem (or use the artefact)"
    - echo "run against foreign systems (e.g. databases, cwl etc.)" - echo "run against foreign systems (e.g. databases, cwl etc.)"
    - exit 1
    publish_on_gitlab: publish_on_gitlab:
    stage: publish stage: publish
    ...@@ -163,6 +160,7 @@ publish_on_pypi: ...@@ -163,6 +160,7 @@ publish_on_pypi:
    publish_to_readthedocs: publish_to_readthedocs:
    stage: publish stage: publish
    allow_failure: true
    environment: readthedocs environment: readthedocs
    needs: needs:
    - package_docs - package_docs
    ...@@ -171,3 +169,4 @@ publish_to_readthedocs: ...@@ -171,3 +169,4 @@ publish_to_readthedocs:
    - if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
    script: script:
    - echo "scp docs/* ???" - echo "scp docs/* ???"
    - exit 1
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment