Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
db5afa26
Unverified
Commit
db5afa26
authored
May 06, 2020
by
Grégoire Paris
Committed by
GitHub
May 06, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3979 from bendavies/phpcs-github-actions
Move phpcs from Travis to GitHub Actions
parents
4c03ed81
b46e86e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
15 deletions
+48
-15
continuous-integration.yml
.github/workflows/continuous-integration.yml
+48
-10
.travis.yml
.travis.yml
+0
-5
No files found.
.github/workflows/continuous-integration.yml
View file @
db5afa26
...
...
@@ -6,28 +6,66 @@ on:
jobs
:
static-analysis-psalm
:
name
:
Static Analysis with Psalm
runs-on
:
ubuntu-latest
name
:
"
Static
Analysis
with
Psalm"
runs-on
:
"
ubuntu-latest"
strategy
:
matrix
:
php-version
:
-
"
7.4"
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
"
Checkout
code"
uses
:
"
actions/checkout@v2"
-
name
:
"
Install
PHP"
uses
:
"
shivammathur/setup-php@
1.8.1
"
uses
:
"
shivammathur/setup-php@
v2
"
with
:
coverage
:
"
none"
php-version
:
"
7.4
"
php-version
:
"
${{
matrix.php-version
}}
"
-
name
:
"
Cache
dependencies
installed
with
composer"
uses
:
"
actions/cache@v1
.0.3
"
uses
:
"
actions/cache@v1"
with
:
path
:
"
~/.composer/cache"
key
:
"
composer
-${{
hashFiles('composer.lock')
}}"
restore-keys
:
"
composer
-"
key
:
"
php-${{
matrix.php-version
}}-composer-locked
-${{
hashFiles('composer.lock')
}}"
restore-keys
:
"
php-${{
matrix.php-version
}}-composer-locked
-"
-
name
:
"
Install
dependencies
with
composer"
run
:
"
composer
install
--no-interaction
--no-progress
--no-suggest"
-
name
:
Psalm
-
name
:
"
Psalm"
run
:
"
vendor/bin/psalm"
coding-standards
:
name
:
"
Coding
Standards"
runs-on
:
"
ubuntu-latest"
strategy
:
matrix
:
php-version
:
-
"
7.4"
steps
:
-
name
:
"
Checkout"
uses
:
"
actions/checkout@v2"
-
name
:
"
Install
PHP"
uses
:
"
shivammathur/setup-php@v2"
with
:
coverage
:
"
none"
php-version
:
"
${{
matrix.php-version
}}"
tools
:
"
cs2pr"
-
name
:
"
Cache
dependencies
installed
with
composer"
uses
:
"
actions/cache@v1"
with
:
path
:
"
~/.composer/cache"
key
:
"
php-${{
matrix.php-version
}}-composer-locked-${{
hashFiles('composer.lock')
}}"
restore-keys
:
"
php-${{
matrix.php-version
}}-composer-locked-"
-
name
:
"
Install
dependencies
with
composer"
run
:
"
composer
install
--no-interaction
--no-progress
--no-suggest"
-
name
:
"
Run
squizlabs/php_codesniffer"
run
:
"
vendor/bin/phpcs
-q
--no-colors
--report=checkstyle
|
cs2pr"
.travis.yml
View file @
db5afa26
...
...
@@ -49,11 +49,6 @@ jobs:
env
:
PHPStan
install
:
travis_retry composer install --prefer-dist
script
:
vendor/bin/phpstan analyse
-
stage
:
Smoke Testing
php
:
7.3
env
:
PHP_CodeSniffer
install
:
travis_retry composer install --prefer-dist
script
:
vendor/bin/phpcs
-
stage
:
Test
php
:
7.2
...
...
Write
Preview
Markdown
is supported
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