Commit 1edf5f98 authored by Tomasz Maczukin's avatar Tomasz Maczukin 🌴

Adds propper inheritance in 'race conditions detector'

Currently the job is inheriting `test coverage report`, which contains
a configuration for making artifacts from `out/coverage/*`. This path
however doesn't exist in `race conditions detector` job, so it creates
a false-positive error message, caused by artifacts creating error.

This commits changes the inheritance to use `.coverage_job` which
contains the only configuration that jobs in `coverage` stage should
have common.
parent 7a746bb3
......@@ -283,7 +283,7 @@ git 1.7.1:
image: golang:1.10
when: always
test coverage report: &test_coverage_report
test coverage report:
<<: *coverage_job
coverage: /regular total:\s+\(statements\)\s+\d+.\d+\%/
script:
......@@ -296,7 +296,7 @@ test coverage report: &test_coverage_report
expire_in: 7d
race conditions detector:
<<: *test_coverage_report
<<: *coverage_job
script:
- source ci/touch_make_dependencies
- make check_race_conditions
......
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