Commit 82415bab authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

ci: Fix CI config.

parent 0fff44ec
Pipeline #15537 canceled with stages
in 31 seconds
...@@ -30,7 +30,7 @@ build_ip_and_tests: ...@@ -30,7 +30,7 @@ build_ip_and_tests:
artifacts: artifacts:
paths: &vunit_build_paths paths: &vunit_build_paths
- test/build - test/build
expire_in: 1 hour expire_in: 3 hrs
script: script:
- cd test - cd test
- make elaborate - make elaborate
...@@ -83,16 +83,11 @@ test_ip_fast: ...@@ -83,16 +83,11 @@ test_ip_fast:
script: script:
- cd test - cd test
- make test_fast - make test_fast
- make coverage
- make functional_coverage
coverage: "/lines......: ([^%]+%)/"
artifacts: artifacts:
when: always when: always
paths: paths:
- test/code_html
- test/tests_fast.xml - test/tests_fast.xml
- test/xunit.xsl - test/xunit.xsl
- test/build/functional_coverage
reports: reports:
junit: [test/tests_fast.xml] junit: [test/tests_fast.xml]
...@@ -104,39 +99,26 @@ test_ip_nightly: ...@@ -104,39 +99,26 @@ test_ip_nightly:
script: script:
- cd test - cd test
- make test_nightly - make test_nightly
artifacts:
when: always
paths:
- test/tests_nightly.xml
- test/xunit.xsl
reports:
junit: [test/tests_nightly.xml]
# Nightly tests might fail due to randomization. It is not preffered to
# kill whole follow-up coverage processing due to this failure!
# Fast pipeline on the other hand can't fail because it must pass before merge!
allow_failure: true
get_test_results:
stage: test
dependencies: [test_ip_fast, test_ip_nightly]
when: always
script:
- cd test
- make coverage - make coverage
- make functional_coverage - make functional_coverage
- cd ../scripts - cd ../scripts
- ./gen_vrm - ./gen_vrm
coverage: "/lines......: ([^%]+%)/"
artifacts: artifacts:
when: always when: always
paths: paths:
- test/code_html - test/code_html
- test/tests_fast.xml - test/tests_nightly.xml
- test/xunit.xsl - test/xunit.xsl
- test/build/functional_coverage - test/build/functional_coverage
- scripts/VRM.html - scripts/VRM.html
reports: reports:
junit: [test/tests_fast.xml] junit: [test/tests_nightly.xml]
# Nightly tests might fail due to randomization. It is not preffered to
# kill whole follow-up coverage processing due to this failure!
# Fast pipeline on the other hand can't fail because it must pass before merge!
allow_failure: true
pages: pages:
stage: deploy stage: deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment