Skip to content

Commit

Permalink
clean up the naming
Browse files Browse the repository at this point in the history
  • Loading branch information
exaexa committed Nov 4, 2021
1 parent 452284e commit 3d7f9f7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ variables:
# Predefined conditions for triggering jobs
#

.global_trigger_check_incoming_code: &global_trigger_check_incoming_code
.global_trigger_pull_request: &global_trigger_pull_request
rules:
- if: $CI_PIPELINE_SOURCE == "external_pull_request_event"

Expand Down Expand Up @@ -87,7 +87,7 @@ docker:julia1.6:
- julia --check-bounds=yes --inline=yes --project=@. -e "import Pkg; Pkg.test(; coverage = true)"
after_script:
- julia --project=test/coverage test/coverage/coverage-summary.jl
<<: *global_trigger_check_incoming_code
<<: *global_trigger_pull_request

#
# The required compatibility test to pass on branches&tags before the docs get
Expand Down Expand Up @@ -189,7 +189,7 @@ format:
-e GITHUB_COMMENT_FORMAT \
-e GITHUB_COMMENT \
cloudposse/github-commenter
<<: *global_trigger_check_incoming_code
<<: *global_trigger_pull_request

#
# DOCUMENTATION ASSETS
Expand Down Expand Up @@ -229,14 +229,11 @@ documentation-assets:gource:
- julia --project=@. -e 'import Pkg; Pkg.instantiate();'
- julia --project=@. --color=yes test/doctests.jl

# this gets triggered on pull requests after the tests (to avoid unnecessary
# double failure if the tests fail already)
doc-tests-pr:julia1.6:
stage: documentation
<<: *global_doctests
<<: *global_trigger_check_incoming_code
<<: *global_trigger_pull_request

# this gets triggered in comprehensive tests
doc-tests:julia1.6:
stage: test
<<: *global_doctests
Expand Down

0 comments on commit 3d7f9f7

Please sign in to comment.