Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
P
php-css-selector-interface
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
php-extended
php-css-selector-interface
Commits
e14d7422
Commit
e14d7422
authored
1 year ago
by
Anastaszor
Browse files
Options
Downloads
Patches
Plain Diff
Harmonization 2023-06-17 Updated git ci workflow
parent
e60999a2
Branches
Branches containing commit
Tags
5.0.1
Tags containing commit
No related merge requests found
Pipeline
#903266173
passed
1 year ago
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
psalm.xml
+1
-2
1 addition, 2 deletions
psalm.xml
runtests.sh
+12
-6
12 additions, 6 deletions
runtests.sh
with
17 additions
and
12 deletions
.gitlab-ci.yml
+
4
−
4
View file @
e14d7422
...
...
@@ -3,6 +3,9 @@
default
:
interruptible
:
true
stages
:
-
test
variables
:
ARTIFACT_DOWNLOAD_ATTEMPTS
:
3
EXECUTOR_JOB_SECTION_ATTEMPTS
:
3
...
...
@@ -12,10 +15,7 @@ variables:
ARTIFACT_COMPRESSION_LEVEL
:
"
fast"
CACHE_COMPRESSION_LEVEL
:
"
fastest"
CACHE_REQUEST_TIMEOUT
:
5
stages
:
-
test
XDEBUG_MODE
:
coverage
# // ---- Jobs ---- \\ #
# Find container registries images at
...
...
This diff is collapsed.
Click to expand it.
psalm.xml
+
1
−
2
View file @
e14d7422
<?xml version="1.0" ?>
<psalm
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"https://getpsalm.org/schema/config"
xsi:schemaLocation=
"https://raw.githubusercontent.com/vimeo/psalm/master/config.xsd"
xsi:schemaLocation=
"https://psalm.dev https://psalm.dev/schema/config"
xmlns:xi=
"http://www.w3.org/2001/XInclude"
errorLevel=
"1"
...
...
This diff is collapsed.
Click to expand it.
runtests.sh
+
12
−
6
View file @
e14d7422
...
...
@@ -55,12 +55,17 @@ get_release_url() {
local
API_URL
local
RELEASE_URL
if
[
"
$2
"
==
"phpunit"
]
then
echo
"https://phar.phpunit.de/phpunit-9.phar"
else
check_install
"curl"
check_install
"jq"
check_install
"sed"
API_URL
=
"https://api.github.com/repos/
$1
/
$2
/releases"
RELEASE_URL
=
$(
curl
--location
--progress-bar
--fail
--show-error
"
$API_URL
"
| jq
'[.[]|.assets|.[]|.browser_download_url][0]'
|
sed
's/"//g'
)
echo
"
$RELEASE_URL
"
fi
}
# Ensures that the given phar file is correctly installed
...
...
@@ -132,6 +137,7 @@ composer_install_retry() {
while
[[
$LOOP
<
$1
&&
"
$RET
"
!=
"0"
]]
do
sleep
"
$((
39
*
(
LOOP
+
1
))
)s"
LOOP
=
$((
LOOP
+
1
))
composer_install
RET
=
$?
done
...
...
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