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

Ensure unit test script does not get overwritten

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

#52946

    ...@@ -15,6 +15,14 @@ default: ...@@ -15,6 +15,14 @@ default:
    - cd my_awesome_app - cd my_awesome_app
    - git init - git init
    # Override unit test before script
    .run_unit_test_version_base:
    before_script:
    - !reference [default, before_script]
    - python --version # For debugging
    - python -m pip install --upgrade pip
    - pip install --upgrade tox twine
    # Override artifact directories # Override artifact directories
    run_unit_tests_coverage: run_unit_tests_coverage:
    artifacts: artifacts:
    ......
    ...@@ -68,7 +68,7 @@ run_unit_tests: ...@@ -68,7 +68,7 @@ run_unit_tests:
    - tox -e py3${PY_VERSION} - tox -e py3${PY_VERSION}
    parallel: parallel:
    matrix: # use the matrix for testing matrix: # use the matrix for testing
    - PY_VERSION: [7, 8, 9, 10] - PY_VERSION: [8, 9, 10, 11]
    # Run code coverage on the base image thus also performing unit tests # Run code coverage on the base image thus also performing unit tests
    run_unit_tests_coverage: run_unit_tests_coverage:
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment