diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b795a3d8..39238ae7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,10 +7,7 @@ before_script: stages: - build - - test_DDR3 - - test_DDR4 - - test_HBM2 - - test_LPDDR4 + - test - coverage build: @@ -35,6 +32,11 @@ build: coverage: stage: coverage + needs: + - test_DDR3 + - test_DDR4 + - test_HBM2 + - test_LPDDR4 coverage: '/Total:\|(\d+\.?\d+\%)/' script: # delete all empty files since they produce errors diff --git a/tests/tests_regression/DDR3/ci.yml b/tests/tests_regression/DDR3/ci.yml index ccac02f9..c4caafd2 100644 --- a/tests/tests_regression/DDR3/ci.yml +++ b/tests/tests_regression/DDR3/ci.yml @@ -1,6 +1,8 @@ # DDR3 Dual Rank Test with Staggered Power Down Policy and Scheduler FrFcfsGrp -example_DDR3: - stage: test_DDR3 +test_DDR3: + stage: test + needs: + - build script: - export GCOV_PREFIX=$(pwd) - export GCOV_PREFIX_STRIP=$(pwd | awk -F"/" '{print NF-1}') diff --git a/tests/tests_regression/DDR4/ci.yml b/tests/tests_regression/DDR4/ci.yml index 0709b007..12f6efaa 100644 --- a/tests/tests_regression/DDR4/ci.yml +++ b/tests/tests_regression/DDR4/ci.yml @@ -1,6 +1,8 @@ # DDR4 with 4 bank groups, flexible rankwise refresh and FrFcfs scheduler: -example_DDR4: - stage: test_DDR4 +test_DDR4: + stage: test + needs: + - build script: - export GCOV_PREFIX=$(pwd) - export GCOV_PREFIX_STRIP=$(pwd | awk -F"/" '{print NF-1}') diff --git a/tests/tests_regression/HBM2/ci.yml b/tests/tests_regression/HBM2/ci.yml index 64510208..4e64ebb0 100644 --- a/tests/tests_regression/HBM2/ci.yml +++ b/tests/tests_regression/HBM2/ci.yml @@ -1,5 +1,7 @@ -example_HBM2: - stage: test_HBM2 +test_HBM2: + stage: test + needs: + - build script: - export GCOV_PREFIX=$(pwd) - export GCOV_PREFIX_STRIP=$(pwd | awk -F"/" '{print NF-1}') diff --git a/tests/tests_regression/LPDDR4/ci.yml b/tests/tests_regression/LPDDR4/ci.yml index 2553aea4..1ffe6458 100644 --- a/tests/tests_regression/LPDDR4/ci.yml +++ b/tests/tests_regression/LPDDR4/ci.yml @@ -1,6 +1,8 @@ # LPDDR4 with Bankwise Flexible Refresh and FIFO Scheduler: -example_LPDDR4: - stage: test_LPDDR4 +test_LPDDR4: + stage: test + needs: + - build script: - export GCOV_PREFIX=$(pwd) - export GCOV_PREFIX_STRIP=$(pwd | awk -F"/" '{print NF-1}')