Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cogsys
Dare2Del
Demonstrator - Reasoning WebAPI
Commits
28b2bee5
Commit
28b2bee5
authored
Nov 12, 2020
by
Siebers, Michael
Browse files
Turned off CI/CD due to dysfunct runners.
Refactored test jobs.
parent
e77951ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
28b2bee5
test_theory_common
:
# Do not run pipeline
#
# For technical reasons there is currently no runner available.
# Thus, all pipelines fail. This blocks merge requests.
workflow
:
rules
:
-
when
:
never
# Template for Prolog test jobs
.prolog_test
:
image
:
swipl:8.2.2
stage
:
test
variables
:
REPORT_PATH
:
coverage_irrelevance_common
script
:
-
swipl -s tests/
irrelevance_common.plt
-t 'show_coverage(run_tests,[
user
])' > "$REPORT_PATH"
-
swipl -s
"
tests/
${TEST_FILE}"
-t 'show_coverage(run_tests,[
${TEST_MODULE}
])' > "$
{
REPORT_PATH
}
"
timeout
:
5m
artifacts
:
paths
:
-
"
$REPORT_PATH"
expire_in
:
3 days
test_theory_common
:
extends
:
.prolog_test
variables
:
TEST_FILE
:
irrelevance_common.plt
TEST_MODULE
:
user
REPORT_PATH
:
coverage_irrelevance_common
test_web_api_explanation_integration
:
image
:
swipl:8.2.2
stage
:
test
test_web_api
:
extends
:
.prolog_test
variables
:
TEST_FILE
:
web_api.plt
TEST_MODULE
:
web_api
REPORT_PATH
:
coverage_web_api
script
:
-
swipl -s tests/web_api_expl_integration.plt -t 'show_coverage(run_tests,[web_api])' > "$REPORT_PATH"
timeout
:
5m
artifacts
:
paths
:
-
"
$REPORT_PATH"
expire_in
:
3 days
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment