Skip to content
Snippets Groups Projects
Commit 4be9b3c5 authored by Simon Künzel's avatar Simon Künzel
Browse files

fixup! Add package caching for CI

parent 78202ea7
No related branches found
No related tags found
No related merge requests found
Pipeline #7344 failed
Pipeline: backend

#7345

    ...@@ -6,10 +6,13 @@ mkdir -p ./log/ ...@@ -6,10 +6,13 @@ mkdir -p ./log/
    if [ $# = 1 ] && [ $1 = "-test" ]; then if [ $# = 1 ] && [ $1 = "-test" ]; then
    echo "Running tests" echo "Running tests"
    export COVERAGE_REPORT_DIR=${COVERAGE_REPORT_DIR:=../coverage}
    mkdir -p $COVERAGE_REPORT_DIR
    # We always execute from src (For consistency with uWSGI) # We always execute from src (For consistency with uWSGI)
    cd src cd src
    uname -a uname -a
    export COVERAGE_REPORT_DIR=${COVERAGE_REPORT_DIR:=../coverage}
    export VIDEOAG_TEST_CONFIG_OVERRIDE="../config/test_config_override.py" export VIDEOAG_TEST_CONFIG_OVERRIDE="../config/test_config_override.py"
    python -V python -V
    python -m coverage run --data-file "../coverage/.data" run_tests.py || python -m coverage run --data-file "../coverage/.data" run_tests.py ||
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment