Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
1919392b
Verified
Commit
1919392b
authored
8 months ago
by
Bartek Jaskulski
Browse files
Options
Downloads
Patches
Plain Diff
feat: run codeception on tests/* branches by default
Signed-off-by:
Bart Jaskulski
<
bjaskulski@protonmail.com
>
parent
d6d4433b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/tests/codeception.yml
+23
-23
23 additions, 23 deletions
includes/tests/codeception.yml
with
23 additions
and
23 deletions
includes/tests/codeception.yml
+
23
−
23
View file @
1919392b
.
template
:
&job-
codeception-
test
.codeception-
base
:
tags
:
tags
:
-
codeception
-
codeception
-
$TESTS_TAG
-
$TESTS_TAG
...
@@ -34,11 +34,11 @@
...
@@ -34,11 +34,11 @@
optional
:
true
optional
:
true
-
job
:
prepare npm assets
-
job
:
prepare npm assets
optional
:
true
optional
:
true
except
:
rules
:
variables
:
-
if
:
$DISABLE_CODECEPTION
-
$DISABLE_CODECEPTION
when
:
never
-
$IS
_LIBRARY
-
if
:
$IS_LIBRARY || $IS_NPM
_LIBRARY
-
$IS_NPM_LIBRARY
when
:
never
allow_failure
:
false
allow_failure
:
false
interruptible
:
true
interruptible
:
true
before_script
:
before_script
:
...
@@ -82,29 +82,29 @@
...
@@ -82,29 +82,29 @@
-
'
if
[[
${REPORTPORTAL_AUTHORIZATION}
&&
${REPORTPORTAL_PROJECT}
]];
then
curl
-X
POST
"http://195.201.225.204:8080/api/v1/${REPORTPORTAL_PROJECT}/launch/import"
-H
"accept:
*/*"
-H
"Content-Type:
multipart/form-data"
-H
"${REPORTPORTAL_AUTHORIZATION}"
-F
"file=@tests/codeception/tests/_output/report.xml;type=text/xml;filename=${CI_PROJECT_NAME}-${CI_COMMIT_REF_SLUG}-codeception.xml";
fi'
-
'
if
[[
${REPORTPORTAL_AUTHORIZATION}
&&
${REPORTPORTAL_PROJECT}
]];
then
curl
-X
POST
"http://195.201.225.204:8080/api/v1/${REPORTPORTAL_PROJECT}/launch/import"
-H
"accept:
*/*"
-H
"Content-Type:
multipart/form-data"
-H
"${REPORTPORTAL_AUTHORIZATION}"
-F
"file=@tests/codeception/tests/_output/report.xml;type=text/xml;filename=${CI_PROJECT_NAME}-${CI_COMMIT_REF_SLUG}-codeception.xml";
fi'
codeception test
:
codeception test
:
<<
:
*job-
codeception-
test
extends
:
.
codeception-
base
only
:
rules
:
refs
:
-
!reference
[
.codeception-base
,
rules
]
-
master
-
if
:
$CI_COMMIT_TAG
-
main
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-
devel
-
if
:
$CI_COMMIT_BRANCH == "
devel
"
-
tags
-
if
:
$CI_BRANCH_NAME =~ /^tests.*/
codeception test manual
:
codeception test manual
:
<<
:
*job-
codeception-
test
extends
:
.
codeception-
base
when
:
manual
when
:
manual
allow_failure
:
true
allow_failure
:
true
except
:
rules
:
refs
:
-
!reference
[
.codeception-base
,
rules
]
-
master
-
if
:
$CI_COMMIT_TAG
-
main
when
:
never
-
devel
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-
tags
when
:
never
variables
:
-
if
:
$CI_COMMIT_BRANCH == "devel"
-
$DISABLE_CODECEPTION
when
:
never
codeception test recorded manual
:
codeception test recorded manual
:
<<
:
*job-
codeception-
test
extends
:
.
codeception-
base
when
:
manual
when
:
manual
allow_failure
:
true
allow_failure
:
true
script
:
script
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment